From: Michael Sweet Date: Wed, 8 Mar 2017 18:52:30 +0000 (-0500) Subject: Eliminate compiler warning. X-Git-Tag: v2.2.3~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4888dff95ccb6bf221d9dfddf19faed528d43ce4;p=thirdparty%2Fcups.git Eliminate compiler warning. --- diff --git a/cups/ipp-support.c b/cups/ipp-support.c index b6431e117..b49ac0d2f 100644 --- a/cups/ipp-support.c +++ b/cups/ipp-support.c @@ -2125,7 +2125,7 @@ ippOpString(ipp_op_t op) /* I - Operation ID */ * See if the operation ID is a known value... */ - if (op >= IPP_OP_PRINT_JOB && op < (sizeof(ipp_std_ops) / sizeof(ipp_std_ops[0]))) + if (op >= IPP_OP_PRINT_JOB && op < (ipp_op_t)(sizeof(ipp_std_ops) / sizeof(ipp_std_ops[0]))) return (ipp_std_ops[op]); else if (op == IPP_OP_PRIVATE) return ("windows-ext");