aboutsummaryrefslogtreecommitdiff
path: root/src/ioHDF5UtilGH.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ioHDF5UtilGH.h')
-rw-r--r--src/ioHDF5UtilGH.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ioHDF5UtilGH.h b/src/ioHDF5UtilGH.h
index 45e4ea7..3f68e94 100644
--- a/src/ioHDF5UtilGH.h
+++ b/src/ioHDF5UtilGH.h
@@ -115,8 +115,8 @@
/*** Define the different datatypes used for HDF5 I/O
NOTE: the complex datatype is defined dynamically at runtime in Startup.c
***/
-/* char type is easy */
-#define HDF5_CHAR H5T_NATIVE_CHAR
+/* byte type is easy */
+#define HDF5_BYTE H5T_NATIVE_UCHAR
/* floating point types are architecture-independent,
ie. a float has always 4 bytes, and a double has 8 bytes
@@ -165,7 +165,7 @@
#endif
#ifdef CCTK_INT1
-#define HDF5_INT1 H5T_NATIVE_CHAR
+#define HDF5_INT1 H5T_NATIVE_SCHAR
#endif
#ifdef CCTK_INTEGER_PRECISION_8