diff options
Diffstat (limited to 'ext/tk/stubs.c')
-rw-r--r-- | ext/tk/stubs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/stubs.c b/ext/tk/stubs.c index a12d48756..4388fb294 100644 --- a/ext/tk/stubs.c +++ b/ext/tk/stubs.c @@ -318,7 +318,7 @@ ruby_tk_stubs_init(tcl_ip) if ((*p_Tk_Init)(tcl_ip) == TCL_ERROR) return FAIL_Tk_Init; - if (!Tk_InitStubs(tcl_ip, "8.1", 0)) + if (!Tk_InitStubs(tcl_ip, (char *)"8.1", 0)) return FAIL_Tk_InitStubs; #ifdef __MACOS__ @@ -357,7 +357,7 @@ ruby_tk_stubs_safeinit(tcl_ip) if ((*p_Tk_SafeInit)(tcl_ip) == TCL_ERROR) return FAIL_Tk_Init; - if (!Tk_InitStubs(tcl_ip, "8.1", 0)) + if (!Tk_InitStubs(tcl_ip, (char *)"8.1", 0)) return FAIL_Tk_InitStubs; #ifdef __MACOS__ |