summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-01-12 16:15:01 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-01-12 16:15:01 +0000
commite040557b304fbc3c520ee60e5bad34a47a09e3a9 (patch)
tree2e9c0a52e66bd192569ae1ae7a11840bb335d903 /lib
parentbbb3ae32b7479a6089997e4147f1935fea2f43a8 (diff)
Change script to remove last pointer warning on origin
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1239 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r--lib/sbin/CreateParameterBindings.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sbin/CreateParameterBindings.pl b/lib/sbin/CreateParameterBindings.pl
index b92c8d92..0cd5a146 100644
--- a/lib/sbin/CreateParameterBindings.pl
+++ b/lib/sbin/CreateParameterBindings.pl
@@ -334,7 +334,8 @@ sub CreateParameterBindings
cctk_pdummy_int+=0;\\
cctk_pdummy_real=0;\\
cctk_pdummy_real+=0;\\
- cctk_pdummy_pointer=NULL;\\\n";
+ cctk_pdummy_pointer=NULL;\\
+ cctk_pdummy_pointer=(CCTK_REAL *)cctk_pdummy_pointer;\\\n";
$decl = "USE_GLOBAL_PARAMETER_STRUCT_PARAMS";
if($header_files{"GLOBAL"})