aboutsummaryrefslogtreecommitdiff
path: root/src/mtx_conv.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2014-09-08 09:46:08 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2014-09-08 09:46:08 +0000
commitf180cc819f0ae6312dde6270314f85723e90f280 (patch)
treeff4999bb455d858f970e798973ae44fcf319005f /src/mtx_conv.c
parentbc326b64aa62f4eed9cfc2ccd38acfd36b97b31c (diff)
getting rid of compiler-warnings
svn path=/trunk/externals/iem/iemmatrix/; revision=17345
Diffstat (limited to 'src/mtx_conv.c')
-rw-r--r--src/mtx_conv.c4
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;
}