diff --git a/src/snitch_reporter_teamcity.cpp b/src/snitch_reporter_teamcity.cpp index c64192ec..cd796af0 100644 --- a/src/snitch_reporter_teamcity.cpp +++ b/src/snitch_reporter_teamcity.cpp @@ -115,7 +115,7 @@ constexpr std::size_t max_duration_length = 32; # if SNITCH_WITH_TIMINGS small_string make_duration(float duration) noexcept { small_string string; - append_or_truncate(string, static_cast(duration * 1e6)); + append_or_truncate(string, static_cast(duration * 1e6f)); return string; } # endif