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:
parent
a774b9c5d3
commit
7ee635b2a2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user