diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/button.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |