diff --git a/externals/creb/modules/permut~.c b/externals/creb/modules/permut~.c
index 58da7698968792138e7c71cb67c2d931c7ed6a5b..22f0fd7255b891f4e003b2d40f18461f582f2159 100644
--- a/externals/creb/modules/permut~.c
+++ b/externals/creb/modules/permut~.c
@@ -111,7 +111,7 @@ static void permut_resize_table(t_permut *x, int size)
     {
       if (x->x_ctl.c_permutationtable)
 	free(x->x_ctl.c_permutationtable);
-      x->x_ctl.c_permutationtable = (t_int *)malloc(sizeof(int)*size);
+      x->x_ctl.c_permutationtable = (t_int *)malloc(sizeof(t_int)*size);
       x->x_ctl.c_blocksize = size;
 
       /* make sure it's initialized */