diff options
-rw-r--r-- | src/IsoSurfacer.c | 4 | ||||
-rw-r--r-- | src/Sockets.c | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/IsoSurfacer.c b/src/IsoSurfacer.c index dd50173..2950949 100644 --- a/src/IsoSurfacer.c +++ b/src/IsoSurfacer.c @@ -372,9 +372,9 @@ void CollectData(cGH *GH, polypatch *perprocessor, polypatch *totals) { /**************************************************************/ int IsoWriteDataToClients(char *metadata, - CCTK_INT4 size, + CCTK_INT8 size, IsoType type, - CCTK_INT4 *data); + void *data); void WriteSock(cGH *GH, polypatch *totals, isosurfacerGH *myGH, const char *fullname, int isoindex, diff --git a/src/Sockets.c b/src/Sockets.c index 9d8afb8..2d36b02 100644 --- a/src/Sockets.c +++ b/src/Sockets.c @@ -81,7 +81,7 @@ typedef struct ISOSocket isoSocketState state; } isoSocket; -/******************************************************************** +/******************************************************************* ********************* Local Routine Prototypes ********************* ********************************************************************/ @@ -326,10 +326,11 @@ int Iso_Poll(cGH *cctkGH, long sec, long usec) } int IsoWriteDataToClients(const char *metadata, - CCTK_INT4 size, + CCTK_INT8 size, IsoType type, - CCTK_INT4 *data) + void *dataP) { + CCTK_INT4 *data=(CCTK_INT4*)dataP; int retval; CCTK_INT4 i; CCTK_INT4 datatype; |