diff options
author | jofret | 2009-04-21 06:17:46 +0000 |
---|---|---|
committer | jofret | 2009-04-21 06:17:46 +0000 |
commit | e752e6eb7c35b59d855418dbea875decb64d1cf7 (patch) | |
tree | 2ba5d8b89e5deaa7133cb6a28ef9b0d46dc6318c /src | |
parent | 172b65e57664c8d9059616c0c1e56f5ba5d41760 (diff) | |
download | scilab2c-e752e6eb7c35b59d855418dbea875decb64d1cf7.tar.gz scilab2c-e752e6eb7c35b59d855418dbea875decb64d1cf7.tar.bz2 scilab2c-e752e6eb7c35b59d855418dbea875decb64d1cf7.zip |
Change uint to unsigned int to avoid wired new Windows compiler trouble
Diffstat (limited to 'src')
-rw-r--r-- | src/type/doubleComplex.c | 2 | ||||
-rw-r--r-- | src/type/floatComplex.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/type/doubleComplex.c b/src/type/doubleComplex.c index c435aacf..11df36a6 100644 --- a/src/type/doubleComplex.c +++ b/src/type/doubleComplex.c @@ -103,7 +103,7 @@ doubleComplex DoubleComplex(double real, double imag) { ** \brief construct a Double Complex Matrix. */ doubleComplex *DoubleComplexMatrix(double* real, double* imag, int size) { - doubleComplex *z = malloc((uint) size * sizeof(doubleComplex)); + doubleComplex *z = malloc((unsigned int) size * sizeof(doubleComplex)); int i = 0; for(i = 0; i < size; ++i) diff --git a/src/type/floatComplex.c b/src/type/floatComplex.c index 3df10a13..1e4b16cc 100644 --- a/src/type/floatComplex.c +++ b/src/type/floatComplex.c @@ -105,7 +105,7 @@ floatComplex FloatComplex(float a, float b) { ** \brief construct a Float Complex Matrix. */ floatComplex *FloatComplexMatrix(float* real, float* imag, int size) { - floatComplex *z = malloc((uint) size * sizeof(floatComplex)); + floatComplex *z = malloc((unsigned int) size * sizeof(floatComplex)); int i = 0; for(i = 0; i < size; ++i) |