Skip to content

Commit 98af715

Browse files
committed
silence some warning
1 parent 4a2af2c commit 98af715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ SEXP R_PrintTree(
319319
Rf_error("Invalid tree index.");
320320
}
321321

322-
char *filename0 = CHAR(STRING_ELT(filename, 0));
322+
char *filename0 = (char *) CHAR(STRING_ELT(filename, 0));
323323
WriteTreeDotFile(forest->forest[treeIndex0], filename0);
324324

325325
return R_NilValue;

0 commit comments

Comments
 (0)