summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dtypes.c')
-rw-r--r--test/dtypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index 426f3b9..1a27634 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -7684,7 +7684,7 @@ test_versionbounds(void)
if (ret < 0) TEST_ERROR
/* Create a enumerate datatype */
- enum_type = H5Tcreate(H5T_ENUM, sizeof(short));
+ enum_type = H5Tcreate(H5T_ENUM, sizeof(color_t));
if (enum_type < 0) TEST_ERROR
enum_val = E1_RED;