diff options
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); |