aboutsummaryrefslogtreecommitdiff
path: root/zencore/stream.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-03 12:34:17 +0200
committerStefan Boberg <[email protected]>2021-09-03 12:34:17 +0200
commit3578beff90ac9740e46433fd33d7f07bda5d9fff (patch)
tree8967f46273aed2634b4fc74b8368e78cd3379073 /zencore/stream.cpp
parentoops: Fixed AssertException implementation namespace (diff)
downloadzen-3578beff90ac9740e46433fd33d7f07bda5d9fff.tar.xz
zen-3578beff90ac9740e46433fd33d7f07bda5d9fff.zip
fixed signed/unsigned comparison in stream.cpp
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