From cfed7d1ee29299c9d25658c6fb155ffb13c757d4 Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Tue, 26 Nov 2002 12:35:23 +0000 Subject: warning reduction svn path=/trunk/externals/ggee/; revision=255 --- gui/w_envgen.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gui/w_envgen.h') diff --git a/gui/w_envgen.h b/gui/w_envgen.h index 88c0c6b..7b89939 100755 --- a/gui/w_envgen.h +++ b/gui/w_envgen.h @@ -212,7 +212,7 @@ int i; xscale = x->w.width/x->duration[x->last_state]; yscale = x->w.height; - sprintf(buf,".x%x.c coords %xP",(unsigned int)glist_getcanvas(glist),x); + sprintf(buf,".x%x.c coords %pP",(unsigned int)glist_getcanvas(glist),x); xpos = x->x_obj.te_xpix; ypos = (int) (x->x_obj.te_ypix + x->w.height); for (i=0;i<=x->last_state;i++) { @@ -403,7 +403,8 @@ void envgen_click(t_envgen *x, x->w.grabbed = envgen_next_doodle(x,xpos,ypos); #if (PD_VERSION_MINOR > 31) - glist_grab(x->w.glist, &x->x_obj.te_g, envgen_motion, envgen_key, xpos, ypos); + glist_grab(x->w.glist, &x->x_obj.te_g, (t_glistmotionfn) envgen_motion, + (t_glistkeyfn) envgen_key, xpos, ypos); #else glist_grab(x->w.glist, &x->x_obj.te_g, xpos, ypos); #endif -- cgit v1.2.1