From 902321537032347de3faca35770fc6804e54b63c Mon Sep 17 00:00:00 2001 From: jofret Date: Wed, 22 Apr 2009 06:32:01 +0000 Subject: stdlib -> malloc --- src/signalProcessing/fftshift/cfftshifta.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/signalProcessing/fftshift/cfftshifta.c') diff --git a/src/signalProcessing/fftshift/cfftshifta.c b/src/signalProcessing/fftshift/cfftshifta.c index fe51b0d7..19f400a0 100644 --- a/src/signalProcessing/fftshift/cfftshifta.c +++ b/src/signalProcessing/fftshift/cfftshifta.c @@ -10,16 +10,16 @@ * */ - +#include #include "fftshift.h" void cfftshifta(floatComplex* in,int rows,int columns,floatComplex* out){ floatComplex* temp; - + /*FIXME : malloc here*/ - temp=malloc((uint)(rows*columns)*sizeof(floatComplex)); - - crowfftshifta(in,rows,columns,temp); + temp= (floatComplex *) malloc((unsigned int)(rows*columns)*sizeof(floatComplex)); + + crowfftshifta(in,rows,columns,temp); ccolumnfftshifta(temp,rows,columns,out); } -- cgit