summaryrefslogtreecommitdiff
path: root/src/include/cctk.h
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-10-28 13:48:26 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-10-28 13:48:26 +0000
commit9384d5ead61eeb13ff4be9f182d328081e3af018 (patch)
treed939345f7ba2f2ebd5038aab37c13e76e30aad19 /src/include/cctk.h
parenta31931c369a680cc3abd31f75be611521718d815 (diff)
Change the way in which pointers are passed to and from Fortran.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3446 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk.h')
-rw-r--r--src/include/cctk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/cctk.h b/src/include/cctk.h
index 22f0fe20..74924b47 100644
--- a/src/include/cctk.h
+++ b/src/include/cctk.h
@@ -244,7 +244,7 @@ inline int CCTK_GFINDEX4D (const cGH *GH, int i, int j, int k, int l)
&((xGH)->cctk_convlevel),\
(xGH)->cctk_nghostzones,\
&((xGH)->cctk_iteration),\
- (xGH)
+ &(xGH)
#define _CCTK_C2F_PROTO int *,\
int *,\
int *,int *, int *, int *, int *,int *,int *,\
@@ -257,7 +257,7 @@ inline int CCTK_GFINDEX4D (const cGH *GH, int i, int j, int k, int l)
int *,\
int *,\
int *,\
- cGH *
+ cGH **
#define CCTK_EQUALS(a,b) (CCTK_Equals((a),(b)))