]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix clang warning.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 16 May 2019 12:13:59 +0000 (08:13 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 16 May 2019 12:13:59 +0000 (08:13 -0400)
cups/ipp-file.c

index 142316414493e04d74c6b2cfa49e568f35b19d1b..bca3d34c50e8e0cfd3cc2dbeb87ffad1f301af54 100644 (file)
@@ -605,7 +605,7 @@ parse_value(_ipp_file_t      *f,    /* I  - IPP data file */
             {
               if (isdigit(*valueptr & 255))
               {
-                period = strtol(valueptr, &valueptr, 10);
+                period = (int)strtol(valueptr, &valueptr, 10);
 
                 if (!valueptr || period < 0)
                 {