diff --git a/src/CSFML/System/Time.cpp b/src/CSFML/System/Time.cpp index 4b7b3161..00bd6144 100644 --- a/src/CSFML/System/Time.cpp +++ b/src/CSFML/System/Time.cpp @@ -63,7 +63,7 @@ sfTime sfSeconds(float amount) //////////////////////////////////////////////////////////// sfTime sfMilliseconds(int32_t amount) { - return {static_cast(amount * 1000)}; + return {int64_t{amount} * 1000}; }