Index: src/conversions.cc |
=================================================================== |
--- src/conversions.cc (revision 5603) |
+++ src/conversions.cc (working copy) |
@@ -354,7 +354,7 @@ |
ASSERT(buffer_pos < kBufferSize); |
buffer[buffer_pos] = '\0'; |
Vector<char> buffer_vector(buffer, buffer_pos); |
- return sign ? -Strtod(buffer_vector, 0) : Strtod(buffer_vector, 0); |
+ return sign ? -strtod(buffer_vector, NULL) : strtod(buffer_vector, NULL); |
} |
// The following code causes accumulating rounding error for numbers greater |
@@ -653,7 +653,7 @@ |
ASSERT(buffer_pos < kBufferSize); |
buffer[buffer_pos] = '\0'; |
- double converted = Strtod(Vector<char>(buffer, buffer_pos), exponent); |
+ double converted = strtod(Vector<char>(buffer, buffer_pos), exponent); |
return sign? -converted: converted; |
} |