summaryrefslogtreecommitdiff
path: root/src/comm
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-06-24 11:59:50 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-06-24 11:59:50 +0000
commit39057fd4fd78e7c8a101581ebf1e673d47f4a30e (patch)
treee0cc0e3c2ae14793849078622f0dcfffc94ff956 /src/comm
parentfc9c3eadbc0389ccdf75287970de832db16de9ae (diff)
Various chnages suggested by compilation warnings etc.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@571 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r--src/comm/Reduction.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/comm/Reduction.c b/src/comm/Reduction.c
index bf2ab770..2c0ee283 100644
--- a/src/comm/Reduction.c
+++ b/src/comm/Reduction.c
@@ -22,6 +22,8 @@
#include "StoreHandledData.h"
#include "Reduction.h"
+static char *rcsid = "$Header$";
+
static cHandledData *ReductionOperators = NULL;
static int num_reductions = 0;
@@ -66,7 +68,7 @@ int CCTK_RegisterReductionOperator(void (*function)(REGISTER_ARGLIST),
if(handle < 0)
{
/* Get a handle for it. */
- handle = CCTK_NewHandle(&ReductionOperators, name, function);
+ handle = CCTK_NewHandle(&ReductionOperators, name, (void *)function);
/* Remember how many reduction operators there are */
num_reductions++;