aboutsummaryrefslogtreecommitdiff
path: root/zencore/stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/stream.cpp')
-rw-r--r--zencore/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/stream.cpp b/zencore/stream.cpp
index 2cda0e123..bd925ebc4 100644
--- a/zencore/stream.cpp
+++ b/zencore/stream.cpp
@@ -175,7 +175,7 @@ TextWriter::Writef(const char* formatString, ...)
ZEN_ASSERT(rv >= 0);
- if (rv > sizeof buffer)
+ if (uint32_t(rv) > sizeof buffer)
{
// Need more room -- allocate temporary buffer