From 9eac9d0bbd54ecde49c6a3621ead8d98f30225cb Mon Sep 17 00:00:00 2001 From: nagai Date: Fri, 4 Mar 2005 02:22:36 +0000 Subject: * ext/tcltklib/tcltklib.c (ip_rbUpdateCommand, ip_rb_threadUpdateCommand): get rid of warnings with Tcl/Tk 8.3 or former (backport from CVS HEAD). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ ext/tcltklib/tcltklib.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7e9cf6416..a6905dca4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Fri Mar 4 11:17:06 2005 Hidetoshi NAGAI + + * ext/tcltklib/tcltklib.c (ip_rbUpdateCommand): get rid of + warnings with Tcl/Tk 8.3 or former (backport from CVS_HEAD). + + * ext/tcltklib/tcltklib.c (ip_rb_threadUpdateCommand): ditto. + Thu Mar 4 07:07:00 2005 NARUSE, Yui * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.63 diff --git a/ext/tcltklib/tcltklib.c b/ext/tcltklib/tcltklib.c index 905d96929..ff374b07d 100644 --- a/ext/tcltklib/tcltklib.c +++ b/ext/tcltklib/tcltklib.c @@ -2909,7 +2909,7 @@ ip_rbUpdateCommand(clientData, interp, objc, objv) flags = TCL_ALL_EVENTS|TCL_DONT_WAIT; } else if (objc == 2) { - if (Tcl_GetIndexFromObj(interp, objv[1], updateOptions, + if (Tcl_GetIndexFromObj(interp, objv[1], (CONST84 char **)updateOptions, "option", 0, &optionIndex) != TCL_OK) { return TCL_ERROR; } @@ -3060,7 +3060,7 @@ ip_rb_threadUpdateCommand(clientData, interp, objc, objv) flags = TCL_ALL_EVENTS|TCL_DONT_WAIT; } else if (objc == 2) { - if (Tcl_GetIndexFromObj(interp, objv[1], updateOptions, + if (Tcl_GetIndexFromObj(interp, objv[1], (CONST84 char **)updateOptions, "option", 0, &optionIndex) != TCL_OK) { return TCL_ERROR; } -- cgit