From 0c6ac2f761a2a8ddcde91a1afc80eeadfe2f0bc1 Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Fri, 25 Aug 2006 22:38:42 +0000 Subject: creb: removed garbage system/ and include/ files svn path=/trunk/externals/creb/; revision=5742 --- modules/permut~.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/permut~.c') diff --git a/modules/permut~.c b/modules/permut~.c index 7738f84..7a4f101 100644 --- a/modules/permut~.c +++ b/modules/permut~.c @@ -30,7 +30,7 @@ typedef struct permutctl { char c_type; - int *c_permutationtable; + t_int *c_permutationtable; int c_blocksize; } t_permutctl; @@ -62,7 +62,7 @@ static void permut_random(t_permut *x, t_floatarg seed) int i,j; int N = x->x_ctl.c_blocksize; int mask = N-1; - int *p = x->x_ctl.c_permutationtable; + t_int *p = x->x_ctl.c_permutationtable; int r, last = 0; //srand(* ((unsigned int *)(&seed))); @@ -103,7 +103,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 = (int *)malloc(sizeof(int)*size); + x->x_ctl.c_permutationtable = (t_int *)malloc(sizeof(int)*size); x->x_ctl.c_blocksize = size; /* make sure it's initialized */ -- cgit v1.2.1