Index: src/conversions.cc |
diff --git a/src/conversions.cc b/src/conversions.cc |
index 2a3db7bb69afdb6cd9d81c1978dae4d9811be72b..3e66d286c2d92acf1e440c290d326becdd21b58b 100644 |
--- a/src/conversions.cc |
+++ b/src/conversions.cc |
@@ -664,7 +664,7 @@ char* DoubleToRadixCString(double value, int radix) { |
int integer_pos = kBufferSize - 2; |
do { |
integer_buffer[integer_pos--] = |
- chars[static_cast<int>(fmod(integer_part, radix))]; |
+ chars[static_cast<int>(modulo(integer_part, radix))]; |
integer_part /= radix; |
} while (integer_part >= 1.0); |
// Sanity check. |