diff options
author | cornet | 2009-04-23 08:09:26 +0000 |
---|---|---|
committer | cornet | 2009-04-23 08:09:26 +0000 |
commit | 1199930d082d0e8cfe3ae9119b65244844d0fc44 (patch) | |
tree | 5d9c0e1a46a2574892d77e210b02c54b200e14f3 /src/matrixOperations/spec/testDoubleSpec.c | |
parent | 93b96745bf6acef58aede4bfa0291a20a0696013 (diff) | |
download | scilab2c-1199930d082d0e8cfe3ae9119b65244844d0fc44.tar.gz scilab2c-1199930d082d0e8cfe3ae9119b65244844d0fc44.tar.bz2 scilab2c-1199930d082d0e8cfe3ae9119b65244844d0fc44.zip |
add tests projects (matrixOperations)
Diffstat (limited to 'src/matrixOperations/spec/testDoubleSpec.c')
-rw-r--r-- | src/matrixOperations/spec/testDoubleSpec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/matrixOperations/spec/testDoubleSpec.c b/src/matrixOperations/spec/testDoubleSpec.c index 0e392dea..216304d0 100644 --- a/src/matrixOperations/spec/testDoubleSpec.c +++ b/src/matrixOperations/spec/testDoubleSpec.c @@ -10,7 +10,7 @@ * */ - +#include <stdlib.h> #include "spec.h" #include "stdio.h" #include "assert.h" @@ -25,7 +25,7 @@ static void dspecaTest(void){ int i; - out=malloc((uint)2*sizeof(double)); + out=(double*)malloc((unsigned int)2*sizeof(double)); dspeca(in,2,out); for(i=0;i<2;i++){ |