]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Eliminate compiler warning.
authorMichael Sweet <michael.r.sweet@gmail.com>
Wed, 8 Mar 2017 18:52:30 +0000 (13:52 -0500)
committerMichael Sweet <michael.r.sweet@gmail.com>
Wed, 8 Mar 2017 18:52:30 +0000 (13:52 -0500)
cups/ipp-support.c

index b6431e1171bf68db875eed0846579eedb8ae667c..b49ac0d2f9756ac5531eaf10681773caa463fdf8 100644 (file)
@@ -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");