diff options
author | jofret | 2009-04-22 06:32:01 +0000 |
---|---|---|
committer | jofret | 2009-04-22 06:32:01 +0000 |
commit | 902321537032347de3faca35770fc6804e54b63c (patch) | |
tree | 8e5cef60c409358a0d9453284d419462c8f5ab99 /src/signalProcessing/fftshift/cfftshifta.c | |
parent | d74b3c662dd8d241b2d91a80c491fc63ed1bad8e (diff) | |
download | scilab2c-902321537032347de3faca35770fc6804e54b63c.tar.gz scilab2c-902321537032347de3faca35770fc6804e54b63c.tar.bz2 scilab2c-902321537032347de3faca35770fc6804e54b63c.zip |
stdlib -> malloc
Diffstat (limited to 'src/signalProcessing/fftshift/cfftshifta.c')
-rw-r--r-- | src/signalProcessing/fftshift/cfftshifta.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 <malloc.h> #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); } |