diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-05 09:24:31 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-05 09:24:31 +0000 |
commit | c2f1fbceeead2560e6cc4c80f6a39cc99e1e7348 (patch) | |
tree | 8a80f075b371d97dbfb2f01244209ff3a42f298c /src/comm | |
parent | cff1b7584b005ceb97ccf3119cac791949e12904 (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.c | 2 |
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); |