Skip to content

Commit

Permalink
FIX: resolve incompatible pointer type compilation warning on posix t…
Browse files Browse the repository at this point in the history
…argets in `browse` native function
  • Loading branch information
Oldes committed May 28, 2020
1 parent 54c0518 commit c4c3747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/n-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ static REBSER *Read_All_File(char *fname)

if(IS_FILE(arg)) {
// Convert file to full local os path
url = UNI_HEAD(Value_To_OS_Path(arg, TRUE));
url = (REBCHR*)SERIES_DATA(Value_To_OS_Path(arg, TRUE));
} else {
url = Val_Str_To_OS(arg);
}
Expand Down

0 comments on commit c4c3747

Please sign in to comment.