Warning cleanup

This commit is contained in:
ridiculousfish
2012-07-28 17:49:46 -07:00
parent 1b8f1650dc
commit 2e1b3325c6
26 changed files with 94 additions and 126 deletions

View File

@@ -223,7 +223,7 @@ job_id_t acquire_job_id(void)
{
/* We found a slot. Note that slot 0 corresponds to job ID 1. */
*slot = true;
return slot - consumed_job_ids.begin() + 1;
return (job_id_t)(slot - consumed_job_ids.begin() + 1);
}
else
{