Kernel - Fixing bugs from previous commig
[tpg/acess2.git] / KernelLand / Kernel / libc.c
index ea70579..1b6f371 100644 (file)
@@ -187,6 +187,8 @@ void itoa(char *buf, Uint64 num, int base, int minLength, char pad)
 #define PUTCH(ch)      do { \
                if(pos < __maxlen) { \
                        if(__s) __s[pos] = ch; \
+               } else { \
+                       (void)ch;\
                } \
                pos ++; \
        } while(0)

UCC git Repository :: git.ucc.asn.au