Skip to content

Commit

Permalink
jones-ndb: fix for data type warnings noted by Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
jdduncan committed Sep 14, 2016
1 parent cc55130 commit 9c4a369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jones-ndb/impl/src/ndb/QueryOperation.cpp
Expand Up @@ -356,7 +356,7 @@ bool QueryOperation::createNdbQuery(NdbTransaction *tx) {
NdbQueryOperation * qop = ndbQuery->getQueryOperation(i);
if(! qop) {
DEBUG_PRINT("No Query Operation at index %d", i);
return -1;
return false;
}
assert(buffers[i].record);
qop->setResultRowBuf(buffers[i].record->getNdbRecord(), buffers[i].buffer);
Expand Down
2 changes: 1 addition & 1 deletion jones-ndb/impl/src/ndb/SessionImpl.cpp
Expand Up @@ -48,7 +48,7 @@ inline CachedTransactionsAccountant::~CachedTransactionsAccountant() {
}

inline void CachedTransactionsAccountant::tallySetNodeId(int nodeId) {
tc_bitmap ^= (1 << nodeId);
tc_bitmap ^= (1ULL << nodeId);
}

inline void CachedTransactionsAccountant::tallySetMaskedNodeIds(int64_t mask) {
Expand Down

0 comments on commit 9c4a369

Please sign in to comment.