floating.c
changeset 63 5a82f89d607e
parent 29 7abf6146898e
child 77 49e0babccb23
--- a/floating.c
+++ b/floating.c
@@ -7,7 +7,7 @@
 #include <stdlib.h>
 #include <math.h>
 
-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)