From 3578beff90ac9740e46433fd33d7f07bda5d9fff Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Fri, 3 Sep 2021 12:34:17 +0200 Subject: fixed signed/unsigned comparison in stream.cpp --- zencore/stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zencore/stream.cpp') 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 -- cgit v1.2.3