aboutsummaryrefslogtreecommitdiff
path: root/arraysize.c
diff options
context:
space:
mode:
Diffstat (limited to 'arraysize.c')
-rw-r--r--arraysize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arraysize.c b/arraysize.c
index e0db085..8baf147 100644
--- a/arraysize.c
+++ b/arraysize.c
@@ -52,6 +52,6 @@ void arraysize_setup(void)
{
arraysize_class = class_new(gensym("arraysize"), (t_newmethod)arraysize_new, 0, sizeof(t_arraysize), CLASS_DEFAULT, A_DEFSYMBOL, 0);
- class_addmethod(arraysize_class,arraysize_set,gensym("set"), A_DEFSYM, 0);
+ class_addmethod(arraysize_class,(t_method)arraysize_set,gensym("set"), A_DEFSYM, 0);
class_addbang(arraysize_class,arraysize_bang);
}