diff --git a/openVulkanoCpp/Math/Timestamp.hpp b/openVulkanoCpp/Math/Timestamp.hpp index e8fdb97..47fd9b0 100644 --- a/openVulkanoCpp/Math/Timestamp.hpp +++ b/openVulkanoCpp/Math/Timestamp.hpp @@ -13,7 +13,7 @@ namespace openVulkanoCpp::Math class Timestamp final { static constexpr uint64_t SECONDS_TO_NANOS = 1'000'000'000ull; - static constexpr double NANOS_TO_SECONDS = 1 / SECONDS_TO_NANOS; + static constexpr double NANOS_TO_SECONDS = 1.0 / SECONDS_TO_NANOS; uint64_t timestamp;