diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-04-13 20:33:47 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-04-13 20:33:47 +0000 |
commit | 92cddbb9eef7b4519497f79d149b4697def8f6c8 (patch) | |
tree | c0434c4eab3c81f0b5d832c529f0bd9e410585e4 /lib/sbin/CreateScheduleBindings.pl | |
parent | f63251387030fc82b371db5cdb544d543f09e3a3 (diff) |
Explicit cast to void * to prevent warnings.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1537 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/CreateScheduleBindings.pl')
-rw-r--r-- | lib/sbin/CreateScheduleBindings.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbin/CreateScheduleBindings.pl b/lib/sbin/CreateScheduleBindings.pl index 40b794f4..ae81228e 100644 --- a/lib/sbin/CreateScheduleBindings.pl +++ b/lib/sbin/CreateScheduleBindings.pl @@ -327,7 +327,7 @@ sub ScheduleBlock return ("", ""); } $prototype = "extern int $function(void); /* Note that this is a cheat, we just need a function pointer. */\n"; - $buffer = " CCTKi_ScheduleFunction($function,\n"; + $buffer = " CCTKi_ScheduleFunction((void *)$function,\n"; $indent = " "; $buffer .= "$indent"; } |