From 9bc767babc161bd70afb8d82b7b41157ead80bbd Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 13 Apr 2010 14:20:35 +0000 Subject: cast pointer to struct to long unsigned int to get rid of warning svn path=/trunk/externals/ggee/; revision=13440 --- gui/button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/button.c b/gui/button.c index 239df60..4b29dd7 100644 --- a/gui/button.c +++ b/gui/button.c @@ -322,7 +322,7 @@ static void *button_new(t_symbol* text) /* TODO .. ask the button for its width */ x->x_width += strlen(x->x_text->s_name)*5.2; - sprintf(buf,"button%lx",x); + sprintf(buf,"button%lx", (long unsigned int)x); x->x_sym = gensym(buf); pd_bind(&x->x_obj.ob_pd, x->x_sym); -- cgit v1.2.1