diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-04-13 14:20:35 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-04-13 14:20:35 +0000 |
commit | 9bc767babc161bd70afb8d82b7b41157ead80bbd (patch) | |
tree | 24f8e271a05fa1a3cdb50fb4ed7758ab74413432 | |
parent | b714467cd6b060d8b8123267263dc861d126b625 (diff) |
cast pointer to struct to long unsigned int to get rid of warning
svn path=/trunk/externals/ggee/; revision=13440
-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); |