Skip to content

Commit

Permalink
fix type to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Dec 16, 2023
1 parent 7f370b5 commit 5ede63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mprintf.c
Expand Up @@ -1010,7 +1010,7 @@ static int dprintf_formatf(
static int addbyter(int output, FILE *data)
{
struct nsprintf *infop = (struct nsprintf *)data;
unsigned char outc = (unsigned char)output;
char outc = (char)output;

if(infop->length < infop->max) {
/* only do this if we haven't reached max length yet */
Expand Down

0 comments on commit 5ede63a

Please sign in to comment.