From f180cc819f0ae6312dde6270314f85723e90f280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 8 Sep 2014 09:46:08 +0000 Subject: getting rid of compiler-warnings svn path=/trunk/externals/iem/iemmatrix/; revision=17345 --- src/mtx_conv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mtx_conv.c') 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; } -- cgit v1.2.1