- fixed bug
authorMartin Willi <martin@strongswan.org>
Thu, 17 Nov 2005 13:31:45 +0000 (13:31 -0000)
committerMartin Willi <martin@strongswan.org>
Thu, 17 Nov 2005 13:31:45 +0000 (13:31 -0000)
Source/charon/testcases/scheduler_test.c

index 1f05670..89f151a 100644 (file)
@@ -48,7 +48,7 @@ void test_scheduler(tester_t *tester)
        for (current = 0; current < job_count; current++)
        {
                /* misusing for testing only */
-               jobs[current] = (job_t *) incoming_packet_job_create((packet_t*)current+1);
+               jobs[current] = (job_t *) incoming_packet_job_create((packet_t*)(current+1));
                global_event_queue->add_relative(global_event_queue, jobs[current], (current+1) * 500);
        }