From 63d9bbb10e2cc8170d149d73ae7c7ff960e15fb0 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jancsika@yahoo.com>
Date: Mon, 6 Oct 2014 17:31:31 -0400
Subject: [PATCH] Fixed segfault due to author's oversight of difference
 between int and t_int on 64-bit systems Patch put on tracker for Pd-extended,
 but I thought I'd go ahead and commit here, too

---
 externals/creb/modules/permut~.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/externals/creb/modules/permut~.c b/externals/creb/modules/permut~.c
index 58da76989..22f0fd725 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 */
-- 
GitLab