summaryrefslogtreecommitdiff
path: root/src/type/doubleComplex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/type/doubleComplex.c')
-rw-r--r--src/type/doubleComplex.c2
1 files changed, 1 insertions, 1 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)