0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

fix warning convesion 64 bit to 32 bit int

This commit is contained in:
dwight 2010-12-13 20:09:00 -05:00
parent a774b9c5d3
commit 7ee635b2a2

View File

@ -292,7 +292,8 @@ namespace mongo {
data += mmf->length();
if (memcmp(p, w, mmf->length()) == 0)
assert( mmf->length() == (unsigned) mmf->length() );
if (memcmp(p, w, (unsigned) mmf->length()) == 0)
continue; // next file
unsigned low = 0xffffffff;