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

fix compiler warning MINOR

This commit is contained in:
Aaron 2009-05-20 10:55:03 -04:00
parent f80d887a78
commit 1d091ef8b3

View File

@ -136,7 +136,7 @@ namespace mongo {
}
sort( ports.begin(), ports.end() );
for( int i = 1; i < ports.size(); ++i )
for( unsigned i = 1; i < ports.size(); ++i )
massert( "duplicate ports allocated", ports[ i - 1 ] != ports[ i ] );
BSONObjBuilder b;
b.append( "", ports );