summaryrefslogtreecommitdiff
path: root/cups/ipp-file.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-02-06 13:32:09 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-02-06 13:32:09 -0500
commit564cd57de88180d41375710d82f58ac04274c491 (patch)
tree4cfa46d597e301f6baf4d462ac5c64a164ecd89c /cups/ipp-file.c
parent7c8fb0fc01b23c5a588ce1b7e6302f7127b14d17 (diff)
downloadcups-564cd57de88180d41375710d82f58ac04274c491.tar.gz
Fix compiler warning.
Diffstat (limited to 'cups/ipp-file.c')
-rw-r--r--cups/ipp-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/ipp-file.c b/cups/ipp-file.c
index 08f14d81a..4c1008282 100644
--- a/cups/ipp-file.c
+++ b/cups/ipp-file.c
@@ -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 :