diff --git a/floating.c b/floating.c --- a/floating.c +++ b/floating.c @@ -7,7 +7,7 @@ #include #include -double *getValues (int elements) +double *getValues (unsigned int elements) { double *values; int i; @@ -25,7 +25,7 @@ { double *values = getValues (MAX); - int i; + unsigned int i; for (i = 0; i < MAX; i++) { if (fabs (cos (i) - values[i]) < 0.001)