diff --git a/src/box2d.cpp b/src/box2d.cpp index 879eeb159..b7dcc2b5b 100644 --- a/src/box2d.cpp +++ b/src/box2d.cpp @@ -362,7 +362,7 @@ bool box2d::from_string(const std::string& s) if (success) { - init(d[0], d[1], d[2], d[3]); + init(static_cast(d[0]),static_cast(d[1]),static_cast(d[2]),static_cast(d[3])); } return success;