From 7bd95ed04e85f4b77893952d05b004fcd9446ee7 Mon Sep 17 00:00:00 2001 From: glx Date: Wed, 24 Mar 2010 21:30:12 +0000 Subject: (svn r19517) -Fix (r19516): compile before commit (a gcc warning was hidden) --- src/misc/str.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc') diff --git a/src/misc/str.hpp b/src/misc/str.hpp index de6672031..ad1d85f62 100644 --- a/src/misc/str.hpp +++ b/src/misc/str.hpp @@ -100,7 +100,7 @@ struct CStrA : public CBlobT for (;;) { char *buf = MakeFreeSpace(addSize); ret = vsnprintf(buf, base::GetReserve(), format, args); - if (ret >= base::GetReserve()) { + if (ret >= (int)base::GetReserve()) { /* Greater return than given count means needed buffer size. */ addSize = ret + 1; continue; -- cgit v1.2.3-70-g09d2