1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

(svn r19517) -Fix (r19516): compile before commit (a gcc warning was hidden)

This commit is contained in:
glx
2010-03-24 21:30:12 +00:00
parent a89fcf53b6
commit 7bd95ed04e

View File

@@ -100,7 +100,7 @@ struct CStrA : public CBlobT<char>
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;