summaryrefslogtreecommitdiff
path: root/scheduler
diff options
context:
space:
mode:
Diffstat (limited to 'scheduler')
-rw-r--r--scheduler/ipp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler/ipp.c b/scheduler/ipp.c
index a38559751..2fe3bf25c 100644
--- a/scheduler/ipp.c
+++ b/scheduler/ipp.c
@@ -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."));