Index: Source/wtf/DateMath.cpp |
diff --git a/Source/wtf/DateMath.cpp b/Source/wtf/DateMath.cpp |
index c990a780c01795ea638d2f1ffb9603e07dd2eb79..1210ecc9bb3c0d91be3d5f1fc453a526dde2617a 100644 |
--- a/Source/wtf/DateMath.cpp |
+++ b/Source/wtf/DateMath.cpp |
@@ -795,7 +795,7 @@ double parseDateFromNullTerminatedCharacters(const char* dateString) |
if (!haveTZ) { |
double utcOffset = calculateUTCOffset(); |
double dstOffset = calculateDSTOffset(ms, utcOffset); |
- offset = (utcOffset + dstOffset) / msPerMinute; |
+ offset = static_cast<int>((utcOffset + dstOffset) / msPerMinute); |
} |
return ms - (offset * msPerMinute); |
} |