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

compile win

This commit is contained in:
Aaron 2010-11-18 00:18:07 -08:00
parent 1922082d61
commit cd93cf90c7

View File

@ -551,7 +551,8 @@ namespace BtreeTests {
return spec;
}
char *endPtr;
unsigned long long num = strtoll( spec + 1, &endPtr, 16 );
// parsing a long long is a pain, so just allow shorter keys for now
unsigned long long num = strtol( spec + 1, &endPtr, 16 );
int len = 800;
if( *endPtr == '$' ) {
len = strtol( endPtr + 1, 0, 16 );