diff --git a/src/slurmctld/job_mgr.c b/src/slurmctld/job_mgr.c
index bbd1c51f0d7dfe73a1e1af93cf2a2c7b02e11157..084f5b2bda88419d328f591b37b72c5778930c80 100644
--- a/src/slurmctld/job_mgr.c
+++ b/src/slurmctld/job_mgr.c
@@ -8502,7 +8502,7 @@ static int _validate_job_desc(job_desc_msg_t * job_desc_msg, int allocate,
 			     submit_uid);
 			return ESLURM_INVALID_JOB_ID;
 		}
-		dup_job_ptr = find_job_record((uint32_t) job_desc_msg->job_id);
+		dup_job_ptr = find_job_record(job_desc_msg->job_id);
 		if (dup_job_ptr) {
 			info("attempt re-use active job_id %u",
 			     job_desc_msg->job_id);