Skip to content

Commit 6f5390e

Browse files
committed
minor style fixes in native code
1 parent 4d1bcd1 commit 6f5390e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.oracle.truffle.r.native/fficall/src/common/Rinternals_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void *DATAPTR(SEXP x) {
118118
} else if (type == CPLXSXP) {
119119
return COMPLEX(x);
120120
} else if (type == CHARSXP) {
121-
return R_CHAR(x);
121+
return (void*) R_CHAR(x);
122122
} else {
123123
return FASTR_DATAPTR(x);
124124
}

0 commit comments

Comments
 (0)