Skip to content

Commit

Permalink
charsetstubs: fix incompatible pointer type
Browse files Browse the repository at this point in the history
close #92
  • Loading branch information
ygrek committed Jul 29, 2024
1 parent 9bd6485 commit 338880f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/lib/charsetstubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ ml_win32_get_default_language (void)

size_t
ml_iconv (iconv_t cd,
const char **inbuf,
char **inbuf,
size_t *inbytes_left,
char **outbuf,
size_t *outbytes_left)
Expand Down Expand Up @@ -1239,7 +1239,7 @@ ml_convert_with_iconv (const char *str,

again:

err = ml_iconv (cd, (const char **)&p, &inbytes_remaining, &outp, &outbytes_remaining);
err = ml_iconv (cd, (char**)&p, &inbytes_remaining, &outp, &outbytes_remaining);

if (err == (size_t) -1)
{
Expand Down

0 comments on commit 338880f

Please sign in to comment.