summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-08-31 20:43:35 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-08-31 20:43:35 (GMT)
commitaecd29c2ad7cc445a8600e746e911b838570e5c2 (patch)
treebf861f5aba3dc25ef407402ad85170c296167a2b /src
parent0624ed2e480729e30dfc71aaf016f78c940c1316 (diff)
downloadhdf5-aecd29c2ad7cc445a8600e746e911b838570e5c2.zip
hdf5-aecd29c2ad7cc445a8600e746e911b838570e5c2.tar.gz
hdf5-aecd29c2ad7cc445a8600e746e911b838570e5c2.tar.bz2
Use the DECODE macro with the correct signedness for the variable.
Diffstat (limited to 'src')
-rw-r--r--src/H5Pfapl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Pfapl.c b/src/H5Pfapl.c
index ed6f06a..878ab44 100644
--- a/src/H5Pfapl.c
+++ b/src/H5Pfapl.c
@@ -4083,15 +4083,15 @@ H5P__facc_vfd_swmr_config_dec(const void **_pp, void *_value)
/* int */
INT32DECODE(*pp, config->version);
- INT32DECODE(*pp, config->tick_len);
- INT32DECODE(*pp, config->max_lag);
+ UINT32DECODE(*pp, config->tick_len);
+ UINT32DECODE(*pp, config->max_lag);
H5_DECODE_UNSIGNED(*pp, config->writer);
H5_DECODE_UNSIGNED(*pp, config->flush_raw_data);
/* int */
- INT32DECODE(*pp, config->md_pages_reserved);
- INT32DECODE(*pp, config->pb_expansion_threshold);
+ UINT32DECODE(*pp, config->md_pages_reserved);
+ UINT32DECODE(*pp, config->pb_expansion_threshold);
HDstrcpy(config->md_file_path, (const char *)(*pp));
*pp += H5F__MAX_VFD_SWMR_FILE_NAME_LEN + 1;