Skip to content

Commit c4c3747

Browse files
committed
FIX: resolve incompatible pointer type compilation warning on posix targets in browse native function
1 parent 54c0518 commit c4c3747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/n-io.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ static REBSER *Read_All_File(char *fname)
516516

517517
if(IS_FILE(arg)) {
518518
// Convert file to full local os path
519-
url = UNI_HEAD(Value_To_OS_Path(arg, TRUE));
519+
url = (REBCHR*)SERIES_DATA(Value_To_OS_Path(arg, TRUE));
520520
} else {
521521
url = Val_Str_To_OS(arg);
522522
}

0 commit comments

Comments
 (0)