Skip to content

Commit 93b62c0

Browse files
committed
FIX: warning: incompatible-pointer-types-discards-qualifiers
1 parent a1f8e85 commit 93b62c0

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
@@ -398,7 +398,7 @@ REBINT Mode_Syms[] = {
398398
if (cnt < 0) {
399399
cnt = -cnt;
400400
if (cnt > file->file.index) {
401-
Trap1(RE_OUT_OF_RANGE, D_ARG(arg + 1));
401+
Trap1(RE_OUT_OF_RANGE, (REBVAL*)D_ARG(arg + 1));
402402
//cnt = file->file.index;
403403
}
404404
file->file.index -= cnt;

0 commit comments

Comments
 (0)