aboutsummaryrefslogtreecommitdiff
path: root/zencore/stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/stream.cpp')
-rw-r--r--zencore/stream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/stream.cpp b/zencore/stream.cpp
index 54bcb1f5d..34fff19bb 100644
--- a/zencore/stream.cpp
+++ b/zencore/stream.cpp
@@ -137,7 +137,7 @@ operator<<(TextWriter& writer, int64_t value)
#if ZEN_PLATFORM_WINDOWS
_i64toa_s(value, buffer, sizeof buffer, 10);
#else
- sprintf(buffer, PRId64, value);
+ sprintf(buffer, "%" PRId64, value);
#endif
writer << buffer;
return writer;
@@ -189,7 +189,7 @@ operator<<(TextWriter& writer, uint64_t value)
#if ZEN_PLATFORM_WINDOWS
_ui64toa_s(value, buffer, sizeof buffer, 10);
#else
- sprintf(buffer, PRIu64, value);
+ sprintf(buffer, "%" PRIu64, value);
#endif
writer << buffer;
return writer;