summaryrefslogtreecommitdiff
path: root/src/comm
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-05 09:24:31 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-05 09:24:31 +0000
commitc2f1fbceeead2560e6cc4c80f6a39cc99e1e7348 (patch)
tree8a80f075b371d97dbfb2f01244209ff3a42f298c /src/comm
parentcff1b7584b005ceb97ccf3119cac791949e12904 (diff)
Fixed bug in variable argument list handling.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@653 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r--src/comm/Reduction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comm/Reduction.c b/src/comm/Reduction.c
index b9ff43a1..e5324023 100644
--- a/src/comm/Reduction.c
+++ b/src/comm/Reduction.c
@@ -215,7 +215,7 @@ void FMODIFIER FORTRAN_NAME(CCTK_Reduce)(cGH *GH,
{
/* Fill in the array of variable indices from the variable argument list */
- va_start(indices, *num_in_fields);
+ va_start(indices, num_in_fields);
for (i=0; i<*num_in_fields; i++)
in_fields[i] = *va_arg(indices,int *);
va_end(indices);