diff options
| author | Stefan Boberg <[email protected]> | 2021-09-03 12:34:17 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-03 12:34:17 +0200 |
| commit | 3578beff90ac9740e46433fd33d7f07bda5d9fff (patch) | |
| tree | 8967f46273aed2634b4fc74b8368e78cd3379073 /zencore/stream.cpp | |
| parent | oops: Fixed AssertException implementation namespace (diff) | |
| download | zen-3578beff90ac9740e46433fd33d7f07bda5d9fff.tar.xz zen-3578beff90ac9740e46433fd33d7f07bda5d9fff.zip | |
fixed signed/unsigned comparison in stream.cpp
Diffstat (limited to 'zencore/stream.cpp')
| -rw-r--r-- | zencore/stream.cpp | 2 |
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 |