Index: src/conversions.h |
diff --git a/src/conversions.h b/src/conversions.h |
index 7aa2d3fb3a88716fc8b7fe1dbfb21e8a7a225517..f850f581f06a573dd954401651aa02b36ed95147 100644 |
--- a/src/conversions.h |
+++ b/src/conversions.h |
@@ -72,7 +72,7 @@ inline int FastD2IChecked(double x) { |
// The result is unspecified if x is infinite or NaN, or if the rounded |
// integer value is outside the range of type int. |
inline int FastD2I(double x) { |
- return static_cast<int>(x); |
+ return static_cast<int32_t>(x); |
} |
inline unsigned int FastD2UI(double x); |