Skip to content

Commit

Permalink
Fix mini_printf encoded string -Werror=pointer-sign warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AsparagusEduardo committed Oct 26, 2023
1 parent ad0c28d commit 25d6f8b
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 25d6f8b

Please sign in to comment.