summaryrefslogtreecommitdiffstats
path: root/test/swmr_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/swmr_common.c')
-rw-r--r--test/swmr_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/swmr_common.c b/test/swmr_common.c
index 6cbd5e2..30e1b3e 100644
--- a/test/swmr_common.c
+++ b/test/swmr_common.c
@@ -125,7 +125,7 @@ create_symbol_datatype(void)
hid_t opaq_type_id; /* Datatype ID for opaque part of record */
/* Create opaque datatype to represent other information for this record */
- if((opaq_type_id = H5Tcreate(H5T_OPAQUE, DTYPE_SIZE)) < 0)
+ if((opaq_type_id = H5Tcreate(H5T_OPAQUE, (size_t)DTYPE_SIZE)) < 0)
return -1;
/* Create compound datatype for symbol */