Skip to content

Commit 2fc3e6a

Browse files
committed
COMP: Typo in "const_cast".
1 parent 00374da commit 2fc3e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Graphics/vtkRInterface.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class vtkImplementationRSingleton
7878
const char* path2 = vtksys::SystemTools::GetEnv("R_HOME");
7979
const char *R_argv[]= {"vtkRInterface", "--gui=none", "--no-save", "--no-readline", "--silent"};
8080

81-
Rf_initialize_R(sizeof(R_argv)/sizeof(R_argv[0]), const_cast<char *>(R_argv));
81+
Rf_initialize_R(sizeof(R_argv)/sizeof(R_argv[0]), const_cast<char **>(R_argv));
8282

8383
#ifdef CSTACK_DEFNS
8484
R_CStackLimit = (uintptr_t)-1;

0 commit comments

Comments
 (0)