]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/ipp.c
Resolve new compiler warnings.
[thirdparty/cups.git] / scheduler / ipp.c
index a385597513d25b6033bab158a104d61d1809bcbc..2fe3bf25cc3ac6d384663a95788ae9bf6f18deb2 100644 (file)
@@ -10429,7 +10429,7 @@ set_job_attrs(cupsd_client_t  *con,     /* I - Client connection */
 
          case IPP_JOB_PROCESSING :
          case IPP_JOB_STOPPED :
-             if (job->state_value != attr->values[0].integer)
+             if (job->state_value != (ipp_jstate_t)attr->values[0].integer)
              {
                send_ipp_status(con, IPP_NOT_POSSIBLE,
                                _("Job state cannot be changed."));