Commit 529e4caf authored by unknown's avatar unknown

removed compiler warning

parent 4ebb454e
......@@ -172,7 +172,7 @@ Dbtux::execTUX_BOUND_INFO(Signal* signal)
BoundInfo& b = boundInfo[j][attrId];
if (b.type != -1) {
// compare with previous bound
if (b.type != type2 ||
if (b.type != (int)type2 ||
b.size != 2 + dataSize ||
memcmp(&data[b.offset + 2], &data[offset + 2], dataSize << 2) != 0) {
jam();
......
......@@ -1656,7 +1656,10 @@ MgmtSrvr::setSignalLoggingMode(int processId, LogMode mode,
logSpec = TestOrd::InputOutputSignals;
break;
default:
assert("Unexpected value, MgmtSrvr::setSignalLoggingMode" == 0);
ndbout_c("Unexpected value %d, MgmtSrvr::setSignalLoggingMode, line %d",
(unsigned)mode, __LINE__);
assert(false);
return -1;
}
NdbApiSignal* signal = getSignal();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment