]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - systemv/cupstestdsc.c
Fix source file header text duplication text duplication.
[thirdparty/cups.git] / systemv / cupstestdsc.c
index df69d9425953c684e7fe12449874ce33b7ad87a6..84c4e987ebcd070845c0bb2d0d77f153bef70ebe 100644 (file)
@@ -8,7 +8,7 @@
  * property of Apple Inc. and are protected by Federal copyright
  * law.  Distribution and use rights are outlined in the file "LICENSE.txt"
  * which should have been included with this file.  If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * missing or damaged, see the license at "http://www.cups.org/".
  *
  * PostScript is a trademark of Adobe Systems, Inc.
  *
@@ -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];