From eafc343071b994cc5cb4704b8243db5a88567f16 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/bbogart/; revision=13440 --- popup/popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'popup') diff --git a/popup/popup.c b/popup/popup.c index 8e11d92..9da8a94 100644 --- a/popup/popup.c +++ b/popup/popup.c @@ -639,7 +639,7 @@ static void *popup_new(t_symbol *s, int argc, t_atom *argv) } /* Bind the recieve "popup%lx" to the widget outlet*/ - sprintf(buf,"popup%lx",x); + sprintf(buf,"popup%lx", (long unsigned int)x); x->x_sym = gensym(buf); pd_bind(&x->x_obj.ob_pd, x->x_sym); -- cgit v1.2.1