]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix compiler warning.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 6 Feb 2018 18:32:09 +0000 (13:32 -0500)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 6 Feb 2018 18:32:09 +0000 (13:32 -0500)
cups/ipp-file.c

index 08f14d81afee0160d5057705eada7d06244edd6c..4c1008282f91b1e0c199ba87af136d3027acffbf 100644 (file)
@@ -511,7 +511,7 @@ parse_value(_ipp_file_t      *f,    /* I  - IPP data file */
 
     case IPP_TAG_ENUM :
     case IPP_TAG_INTEGER :
-        return (ippSetInteger(ipp, attr, element, strtol(value, NULL, 0)));
+        return (ippSetInteger(ipp, attr, element, (int)strtol(value, NULL, 0)));
         break;
 
     case IPP_TAG_RESOLUTION :