]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - systemv/cupstestdsc.c
Update cups.desktop.in
[thirdparty/cups.git] / systemv / cupstestdsc.c
index df69d9425953c684e7fe12449874ce33b7ad87a6..a8420b8b2920f6e683d2a6400299f6ccdaf92826 100644 (file)
@@ -187,7 +187,7 @@ check_file(const char *filename)    /* I - File to read from */
        return (1);
       }
       else
-        version = atof(line + 11);
+        version = (float)atof(line + 11);
     }
     else if (level > 0)
     {
@@ -316,7 +316,7 @@ check_file(const char *filename)    /* I - File to read from */
         saw_trailer = 1;
     }
 
-    for (i = 0; !binary && i < bytes; i ++)
+    for (i = 0; !binary && i < (int)bytes; i ++)
     {
       ch = line[i];