diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2000-01-20 03:01:18 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2000-01-20 03:01:18 +0000 |
commit | 7ad04d651d11c14ea85310d4980651d61add2da8 (patch) | |
tree | 58084c94199318afea2ada35b0fac17c2de27342 /otherlibs/labltk/support/cltkTimer.c | |
parent | a928f5cd699efe6c46d15958572848ce90d44478 (diff) |
synchronize with bazar-ocaml/camltk41
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2761 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/support/cltkTimer.c')
-rw-r--r-- | otherlibs/labltk/support/cltkTimer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/labltk/support/cltkTimer.c b/otherlibs/labltk/support/cltkTimer.c index c7c454251..8de594314 100644 --- a/otherlibs/labltk/support/cltkTimer.c +++ b/otherlibs/labltk/support/cltkTimer.c @@ -34,14 +34,14 @@ value camltk_add_timer(milli, cbid) /* ML */ { CheckInit(); /* look at tkEvent.c , Tk_Token is an int */ - return (value)Tcl_CreateTimerHandler(Int_val(milli), TimerProc, - (ClientData) (Long_val(cbid))); + return (Val_int(Tcl_CreateTimerHandler(Int_val(milli), TimerProc, + (ClientData) (Int_val(cbid))))); } value camltk_rem_timer(token) /* ML */ value token; { - Tcl_DeleteTimerHandler((Tcl_TimerToken) token); + Tcl_DeleteTimerHandler((Tcl_TimerToken) Int_val(token)); return Val_unit; } |