Commit 63d9bbb1 authored by pokergaming's avatar pokergaming
Browse files

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
parent 402cda2a
......@@ -111,7 +111,7 @@ static void permut_resize_table(t_permut *x, int size)
if (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 */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment