diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 19:17:13 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 19:17:13 +0000 |
commit | d629edf90155d7e2e43b6a1d370746375f050815 (patch) | |
tree | ee88eb1101917a4d709bc1903229f6d500359ef9 /cyclone/hammer/active.c | |
parent | 9d9c5e05b6b360b967098acf25c1a97fe89e8c6b (diff) |
fix so all pointers used as IDs work in 64-bit also
svn path=/trunk/externals/miXed/; revision=16965
Diffstat (limited to 'cyclone/hammer/active.c')
-rw-r--r-- | cyclone/hammer/active.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cyclone/hammer/active.c b/cyclone/hammer/active.c index adce3c1..ccaf2d9 100644 --- a/cyclone/hammer/active.c +++ b/cyclone/hammer/active.c @@ -36,7 +36,7 @@ static void *active_new(void) { t_active *x = (t_active *)pd_new(active_class); char buf[32]; - sprintf(buf, ".x%lx.c", (int)canvas_getcurrent()); + sprintf(buf, ".x%lx.c", (unsigned long)canvas_getcurrent()); x->x_cvname = gensym(buf); x->x_on = 0; outlet_new((t_object *)x, &s_float); |