diff options
Diffstat (limited to 'src/DumpVar.c')
-rw-r--r-- | src/DumpVar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DumpVar.c b/src/DumpVar.c index 96561fd..b47fe01 100644 --- a/src/DumpVar.c +++ b/src/DumpVar.c @@ -520,12 +520,12 @@ void IOFlexIO_AddCommonAttributes (cGH *GH, int index, int timelevel, ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")]; name = CCTK_FullName (index); - CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "name", BYTE, + CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "name", FLEXIO_CHAR, strlen (name) + 1, name)); free (name); gname = CCTK_GroupNameFromVarI (index); - CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "groupname", BYTE, + CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "groupname", FLEXIO_CHAR, strlen (gname) + 1, gname)); free (gname); @@ -542,7 +542,7 @@ void IOFlexIO_AddCommonAttributes (cGH *GH, int index, int timelevel, 1, &i_to_IO)); if (char_time_date && out3D_datestamp) - CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "date", BYTE, + CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "date", FLEXIO_CHAR, strlen (char_time_date) + 1, char_time_date)); CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "time", FLEXIO_REAL, 1,&GH->cctk_time)); @@ -629,7 +629,7 @@ void IOFlexIO_AddChunkAttributes (cGH *GH, int index, CCTK_INT4 chunk_origin [3] 1, &i_to_IO)); name = CCTK_FullName (index); - CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "name", BYTE, + CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "name", FLEXIO_CHAR, strlen (name)+1, name)); } |