summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-07-22 21:22:51 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-07-22 21:22:51 +0000
commitc1e50375d6302656b13d27dfbfec26d9b5ee7fb0 (patch)
tree11d165d5572387979770a25cc1c36fac7298f46d /lib
parent1a381dc3c09bee6d5a6e4845e5e19ebf08260968 (diff)
Declare argument const to prevent compiler warning
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4848 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r--lib/sbin/GridFuncStuff.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbin/GridFuncStuff.pl b/lib/sbin/GridFuncStuff.pl
index 0e9047cb..38863506 100644
--- a/lib/sbin/GridFuncStuff.pl
+++ b/lib/sbin/GridFuncStuff.pl
@@ -213,7 +213,7 @@ sub CreateVariableBindings
push(@data, '');
push(@data, "static int CCTKi_BindingsFortranWrapper$thorn(void *_GH, void *fpointer)");
push(@data, '{');
- push(@data, ' cGH *GH = _GH;');
+ push(@data, ' cGH const *const GH = _GH;');
push(@data, ' const int _cctk_zero = 0;');
push(@data, " void (*function)(\U$thorn\E_C2F_PROTO);");
push(@data, " DECLARE_\U$thorn\E_C2F");