Skip to content

Commit 22794e4

Browse files
committed
FIX: assignment from incompatible pointer type warning
1 parent dd93003 commit 22794e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/p-file.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ REBINT Mode_Syms[] = {
344344
// Auto convert char to UTF-8
345345
REBYTE buf[8];
346346
len = Encode_UTF8_Char(buf, VAL_CHAR(data));
347-
file->data = &buf;
347+
file->data = (REBYTE*)&buf;
348348
}
349349
else {
350350
// it should be already handled

0 commit comments

Comments
 (0)