Skip to content

Commit

Permalink
Merge pull request #1938 from AsparagusEduardo/pret/pr2/ndebugModern
Browse files Browse the repository at this point in the history
Fix mini_printf encoded string -Werror=pointer-sign warning
  • Loading branch information
GriffinRichards authored Oct 26, 2023
2 parents ad0c28d + 25d6f8b commit 3a8df46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mini_printf.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ s32 mini_vpprintf(void* buf, const char *fmt, va_list va)
break;
case 'S' : // preproc encoded string handler
ptr = va_arg(va, char*);
len = StringLength(ptr);
len = StringLength((u8*)ptr);
if (pad_to > 0)
{
len = mini_pad(ptr, len, pad_char, pad_to, bf);
Expand Down

0 comments on commit 3a8df46

Please sign in to comment.