Skip to content

Commit dd93003

Browse files
committed
FIX: incompatible pointer types warning
1 parent 9589ec8 commit dd93003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/s-mold.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ STOID Mold_Url(REBVAL *value, REB_MOLD *mold)
501501
else if (c >= 0x80) {
502502
// to avoid need to first convert whole url to utf8,
503503
// use the temp buffer for any unicode char...
504-
ulen = Encode_UTF8_Char(&buf, c);
504+
ulen = Encode_UTF8_Char((REBYTE*)&buf, c);
505505
for (i = 0; i < ulen; i++) {
506506
dp = Form_Hex_Esc_Uni(dp, (REBUNI)buf[i]);
507507
}

0 commit comments

Comments
 (0)