...and the rest of r8854.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Jan 2010 14:33:39 +0000 (14:33 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Jan 2010 14:33:39 +0000 (14:33 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@8855 cda61777-01e9-0310-a592-d414129be87e

unix/gtkwin.c

index 2fbe4b7..393d98f 100644 (file)
@@ -1320,7 +1320,7 @@ void timer_change_notify(long next)
        ticks = 1;                     /* just in case */
 
     timer_id = gtk_timeout_add(ticks, timer_trigger,
-                              GINT_TO_POINTER(next));
+                              GSIZE_TO_POINTER(next));
 }
 
 void fd_input_func(gpointer data, gint sourcefd, GdkInputCondition condition)