mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
fix warning
This commit is contained in:
parent
aaf901fe6e
commit
76ff6851af
@ -70,7 +70,7 @@ namespace mongo {
|
||||
|
||||
int chunkNumber = 0;
|
||||
while (data < end){
|
||||
int chunkLen = MIN(DEFAULT_CHUNK_SIZE, end-data);
|
||||
int chunkLen = MIN(DEFAULT_CHUNK_SIZE, (unsigned)(end-data));
|
||||
Chunk c(idObj, chunkNumber, data, chunkLen);
|
||||
_client.insert( _chunksNS.c_str() , c._data );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user