Skip to content

Commit

Permalink
FIX: incompatible pointer types warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed May 26, 2022
1 parent 9589ec8 commit dd93003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/s-mold.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ STOID Mold_Url(REBVAL *value, REB_MOLD *mold)
else if (c >= 0x80) {
// to avoid need to first convert whole url to utf8,
// use the temp buffer for any unicode char...
ulen = Encode_UTF8_Char(&buf, c);
ulen = Encode_UTF8_Char((REBYTE*)&buf, c);
for (i = 0; i < ulen; i++) {
dp = Form_Hex_Esc_Uni(dp, (REBUNI)buf[i]);
}
Expand Down

0 comments on commit dd93003

Please sign in to comment.