From 879e2ac0a540fa1b199e20d47830aa5eea484a4c Mon Sep 17 00:00:00 2001 From: cornet Date: Wed, 22 Apr 2009 05:54:43 +0000 Subject: build with visual studio (dynamic libraries) --- src/matrixOperations/logm/slogma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/matrixOperations/logm/slogma.c') diff --git a/src/matrixOperations/logm/slogma.c b/src/matrixOperations/logm/slogma.c index 928e3802..bffc2dfd 100644 --- a/src/matrixOperations/logm/slogma.c +++ b/src/matrixOperations/logm/slogma.c @@ -18,8 +18,8 @@ void slogma (float* in, int rows, float* out){ doubleComplex *inCpx, *outCopy; int i; - inCpx=malloc((uint)(rows*rows)*sizeof(doubleComplex)); - outCopy=malloc((uint)(rows*rows)*sizeof(doubleComplex)); + inCpx=(doubleComplex *)malloc((unsigned int)(rows*rows)*sizeof(doubleComplex)); + outCopy=(doubleComplex *)malloc((unsigned int)(rows*rows)*sizeof(doubleComplex)); for (i=0;i