diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-08-01 17:35:10 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-08-01 17:35:10 +0000 |
commit | 095e10a6a17420dd31d1f5f592b639f100275057 (patch) | |
tree | 7b1c278604a4a5feeb896f9fe2ab4ab2d23393d5 /cyclone/hammer/active.c | |
parent | 47c48c71f7b95aee1347fa4e02c0de09eef1234d (diff) |
replace .x%x 32-bit only canvas id with .x%lx canvas id which supports 32-bit and 64-bit
svn path=/trunk/externals/miXed/; revision=15186
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 9d10f80..adce3c1 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%x.c", (int)canvas_getcurrent()); + sprintf(buf, ".x%lx.c", (int)canvas_getcurrent()); x->x_cvname = gensym(buf); x->x_on = 0; outlet_new((t_object *)x, &s_float); |