diff options
author | Tom Schouten <doelie@users.sourceforge.net> | 2006-08-25 22:38:42 +0000 |
---|---|---|
committer | Tom Schouten <doelie@users.sourceforge.net> | 2006-08-25 22:38:42 +0000 |
commit | 0c6ac2f761a2a8ddcde91a1afc80eeadfe2f0bc1 (patch) | |
tree | ab908d4b070c838049bc9593e5f8966d49a7775c /modules/permut~.c | |
parent | a467b9c79ef47ad810f71dc0c59d685ac8cab132 (diff) |
creb: removed garbage system/ and include/ files
svn path=/trunk/externals/creb/; revision=5742
Diffstat (limited to 'modules/permut~.c')
-rw-r--r-- | modules/permut~.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |