0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 09:06:21 +01:00

fix warning

This commit is contained in:
Eliot Horowitz 2009-11-30 10:35:54 -05:00
parent aaf901fe6e
commit 76ff6851af

View File

@ -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 );