aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/testcases
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-17 13:31:45 +0000
committerMartin Willi <martin@strongswan.org>2005-11-17 13:31:45 +0000
commit1a2e706beebcc9a84cb32401ef0fa51ae48b8ff0 (patch)
tree046c2b30cf844f70682bf59a3d951f09dcad26de /Source/charon/testcases
parent294faf7bb7c70af5649e2a516f5882352b0f0cc8 (diff)
downloadstrongswan-1a2e706beebcc9a84cb32401ef0fa51ae48b8ff0.tar.bz2
strongswan-1a2e706beebcc9a84cb32401ef0fa51ae48b8ff0.tar.xz
- fixed bug
Diffstat (limited to 'Source/charon/testcases')
-rw-r--r--Source/charon/testcases/scheduler_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/testcases/scheduler_test.c b/Source/charon/testcases/scheduler_test.c
index 1f05670c6..89f151a38 100644
--- a/Source/charon/testcases/scheduler_test.c
+++ b/Source/charon/testcases/scheduler_test.c
@@ -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);
}