diff options
author | cornet | 2009-04-22 05:54:43 +0000 |
---|---|---|
committer | cornet | 2009-04-22 05:54:43 +0000 |
commit | 879e2ac0a540fa1b199e20d47830aa5eea484a4c (patch) | |
tree | 69ef4242aa8ce27332dec2a27f4e7f10a6f9e8fb /src/matrixOperations/determ/ddeterma.c | |
parent | 1811fe5588d0cfbb788ab8f477800af3f45dd710 (diff) | |
download | scilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.tar.gz scilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.tar.bz2 scilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.zip |
build with visual studio (dynamic libraries)
Diffstat (limited to 'src/matrixOperations/determ/ddeterma.c')
-rw-r--r-- | src/matrixOperations/determ/ddeterma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/matrixOperations/determ/ddeterma.c b/src/matrixOperations/determ/ddeterma.c index 4c1703e1..4f8046bb 100644 --- a/src/matrixOperations/determ/ddeterma.c +++ b/src/matrixOperations/determ/ddeterma.c @@ -38,10 +38,10 @@ double ddeterma(double * in, int size){ default : /*Copy the input matrix*/ - inCopy=malloc((uint)(size*size)*sizeof(double)); + inCopy=(double*)malloc((unsigned int)(size*size)*sizeof(double)); for (i=0;i<size*size;i++) inCopy[i]=in[i]; - tmp=malloc((uint)size*sizeof(int)); + tmp=(int*)malloc((unsigned int)size*sizeof(int)); dgetrf_(&size, &size, inCopy, &size, tmp, &info); out=1; for (i=0;i<size;i++){ @@ -69,7 +69,7 @@ double ddeterma(double * in, int size){ default : /*Copy the input matrix*/ - inCopy=malloc((uint)(size*size)*sizeof(double)); + inCopy=malloc((unsigned int)(size*size)*sizeof(double)); for (i=0;i<size*size;i++) inCopy[i]=in[i]; for (i=0;i<size;i++){ |