All pastes #370164 Raw Edit

Anonymous

public text v1 · immutable
#370164 ·published 2007-02-24 09:22 UTC
rendered paste body
Index: src/game/q_shared.c
===================================================================
--- src/game/q_shared.c (Revision 6470)
+++ src/game/q_shared.c (Arbeitskopie)
@@ -4014,12 +4014,9 @@
 #else
        len = vsnprintf(str, size, format, ap);
 #ifdef DEBUG
-       if (len >= size)
+       if ((size_t)len >= size)
                Com_Printf("Q_vsnprintf: string was truncated - target buffer too small\n");
 #endif
-
-       if (len < 0)
-               Com_Printf("Q_vsnprintf: error %i\n", len);
 #endif
 
        return len;