Index: base/third_party/dmg_fp/dtoa.cc |
diff --git a/base/third_party/dmg_fp/dtoa.cc b/base/third_party/dmg_fp/dtoa.cc |
index ffbc088fc9d6c5965ca6bb9a3147ead38e7327d1..c1bc47629c9654aa1acfc23e2c15d7cd589b1cb4 100644 |
--- a/base/third_party/dmg_fp/dtoa.cc |
+++ b/base/third_party/dmg_fp/dtoa.cc |
@@ -1559,7 +1559,7 @@ hexnan |
CONST char *s; |
int c1, havedig, udx0, xshift; |
- if (!hexdig[static_cast<int>('0')]) |
+ if (!hexdig['0']) |
hexdig_init(); |
x[0] = x[1] = 0; |
havedig = xshift = 0; |
@@ -3283,7 +3283,7 @@ strtod |
#ifdef Avoid_Underflow |
if (bc.scale && y <= 2*P*Exp_msk1) { |
if (aadj <= 0x7fffffff) { |
- if ((z = static_cast<ULong>(aadj)) <= 0) |
+ if ((z = aadj) <= 0) |
z = 1; |
aadj = z; |
aadj1 = bc.dsign ? aadj : -aadj; |
@@ -3837,7 +3837,7 @@ dtoa |
*/ |
dval(&eps) = 0.5/tens[ilim-1] - dval(&eps); |
for(i = 0;;) { |
- L = static_cast<long>(dval(&u)); |
+ L = dval(&u); |
dval(&u) -= L; |
*s++ = '0' + (int)L; |
if (dval(&u) < dval(&eps)) |