summaryrefslogtreecommitdiff
path: root/ndb/src/ndbapi/NdbOperationSearch.cpp
diff options
context:
space:
mode:
authorunknown <tomas@mc05.(none)>2004-05-10 11:50:17 +0200
committerunknown <tomas@mc05.(none)>2004-05-10 11:50:17 +0200
commit5f6d3f21482e01c70e918b3cf5a89ec1c940faea (patch)
treecbc68e2c6281414449ec03e76c313e99c0e6b757 /ndb/src/ndbapi/NdbOperationSearch.cpp
parentfabcf36968045a2df20f336f2082ccea65708a10 (diff)
downloadmariadb-git-5f6d3f21482e01c70e918b3cf5a89ec1c940faea.tar.gz
fix compiler warnings in ndb
Diffstat (limited to 'ndb/src/ndbapi/NdbOperationSearch.cpp')
-rw-r--r--ndb/src/ndbapi/NdbOperationSearch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/src/ndbapi/NdbOperationSearch.cpp b/ndb/src/ndbapi/NdbOperationSearch.cpp
index 42f2b1d10d8..e1d5e823077 100644
--- a/ndb/src/ndbapi/NdbOperationSearch.cpp
+++ b/ndb/src/ndbapi/NdbOperationSearch.cpp
@@ -319,7 +319,7 @@ NdbOperation::setTupleId()
return 0;
}
Uint64 tTupleId = theNdb->getTupleIdFromNdb(m_currentTable->m_tableId);
- if (tTupleId == ~0){
+ if (tTupleId == ~(Uint64)0){
setErrorCodeAbort(theNdb->theError.code);
return 0;
}