diff options
Diffstat (limited to 'src/mtx_conv.c')
-rw-r--r-- | src/mtx_conv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mtx_conv.c b/src/mtx_conv.c index de1e260..8ab49c8 100644 --- a/src/mtx_conv.c +++ b/src/mtx_conv.c @@ -53,8 +53,8 @@ static void getTFloatMatrix (int rows, int columns, t_float ***mtx, t_float **ar if (!size) return; - if (*array=ptr=(t_float *)calloc(size, sizeof(t_float))) { - if (*mtx=dptr=(t_float **)calloc(rows, sizeof(t_float *))) { + if ((*array=ptr=(t_float *)calloc(size, sizeof(t_float)))) { + if ((*mtx=dptr=(t_float **)calloc(rows, sizeof(t_float *)))) { for(;rows-- ; ptr+=columns) { *dptr++ = ptr; } |