diff options
Diffstat (limited to 'src/Write.c')
-rw-r--r-- | src/Write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Write.c b/src/Write.c index d06c743..232a4f4 100644 --- a/src/Write.c +++ b/src/Write.c @@ -130,7 +130,7 @@ int IOFlexIO_Write (const cGH *GH, int vindex, const char *alias) buffer[0] = 0; CCTK_ParameterFilename (sizeof (buffer), buffer); FLEXIO_ERROR (IOwriteAttribute (file->iofile, "parameter file", - FLEXIO_CHAR, + CHAR, strlen (buffer) + 1, buffer)); } if (CCTK_Equals (out_fileinfo, "creation date") || @@ -142,7 +142,7 @@ int IOFlexIO_Write (const cGH *GH, int vindex, const char *alias) buffer[len-1] = ' '; Util_CurrentTime (sizeof (buffer) - len, buffer + len); FLEXIO_ERROR (IOwriteAttribute (file->iofile, "creation date", - FLEXIO_CHAR, + CHAR, strlen (buffer) + 1, buffer)); } } |