diff --git a/trick_source/sim_services/ScheduledJobQueue/ScheduledJobQueue.cpp b/trick_source/sim_services/ScheduledJobQueue/ScheduledJobQueue.cpp index 2ac6d74b4..e604a864e 100644 --- a/trick_source/sim_services/ScheduledJobQueue/ScheduledJobQueue.cpp +++ b/trick_source/sim_services/ScheduledJobQueue/ScheduledJobQueue.cpp @@ -92,10 +92,10 @@ int Trick::ScheduledJobQueue::push( JobData * new_job ) { /* Increment the size of the queue */ list_size++ ; - int new_job_index = (insert_pt - list) / sizeof(JobData**); - if(new_job_index < curr_index) { - curr_index++; - } + int new_job_index = (insert_pt - list) / sizeof(JobData**); + if(new_job_index < curr_index) { + curr_index++; + } return(0) ;