diff options
Diffstat (limited to 'zencore/compactbinary.cpp')
| -rw-r--r-- | zencore/compactbinary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/compactbinary.cpp b/zencore/compactbinary.cpp index 3b6d33e41..f71c0aaea 100644 --- a/zencore/compactbinary.cpp +++ b/zencore/compactbinary.cpp @@ -87,7 +87,7 @@ TimeSpan::ToString(const char* Format) const StringBuilder<128> Result; - Result.Append((Ticks < 0) ? '-' : '+'); + Result.Append((int64_t(Ticks) < 0) ? '-' : '+'); while (*Format != '\0') { |