Fix debug printing negative values

This commit is contained in:
GriffinR
2023-02-01 09:37:54 -05:00
parent c23e55ec94
commit 2b42740c69
+1 -1
View File
@@ -143,7 +143,7 @@ static s32 mini_strlen(const char *s)
return len; return len;
} }
static s32 mini_itoa(u32 value, u32 radix, s32 uppercase, bool32 unsig, char *buffer) static s32 mini_itoa(s32 value, u32 radix, s32 uppercase, bool32 unsig, char *buffer)
{ {
char *pbuffer = buffer; char *pbuffer = buffer;
s32 negative = 0; s32 negative = 0;