summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-01-16 22:51:08 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-01-16 22:51:08 (GMT)
commit2754bb2b764a22aac5492ea4ba5d023e08c8eebb (patch)
treeebb621ab82d047b3e5f7326068b1fa414e3917c3 /src
parentfe7965d38f818e0c4d0154c0172703fbe71aec8d (diff)
downloadhdf5-2754bb2b764a22aac5492ea4ba5d023e08c8eebb.zip
hdf5-2754bb2b764a22aac5492ea4ba5d023e08c8eebb.tar.gz
hdf5-2754bb2b764a22aac5492ea4ba5d023e08c8eebb.tar.bz2
Change md_pages_reserved and pb_expansion_threshold parameters to uint32_t from
int32_t.
Diffstat (limited to 'src')
-rw-r--r--src/H5FDvfd_swmr.c2
-rw-r--r--src/H5Fpublic.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FDvfd_swmr.c b/src/H5FDvfd_swmr.c
index c51c42a..b372424 100644
--- a/src/H5FDvfd_swmr.c
+++ b/src/H5FDvfd_swmr.c
@@ -44,7 +44,7 @@ typedef struct H5FD_vfd_swmr_t {
/* Metadata file */
int md_fd; /* File descriptor for the */
/* metadata file */
- int32_t md_pages_reserved; /* # of pages reserved at the */
+ uint32_t md_pages_reserved; /* # of pages reserved at the */
/* head of the metadata file */
char md_file_path[H5FD_MAX_FILENAME_LEN]; /* Name of the metadate file */
H5FD_vfd_swmr_md_header md_header; /* Metadata file header */
diff --git a/src/H5Fpublic.h b/src/H5Fpublic.h
index a24a2c0..a462dc9 100644
--- a/src/H5Fpublic.h
+++ b/src/H5Fpublic.h
@@ -303,8 +303,8 @@ typedef struct H5F_vfd_swmr_config_t {
uint32_t max_lag;
hbool_t writer;
hbool_t flush_raw_data;
- int32_t md_pages_reserved;
- int32_t pb_expansion_threshold;
+ uint32_t md_pages_reserved;
+ uint32_t pb_expansion_threshold;
char md_file_path[H5F__MAX_VFD_SWMR_FILE_NAME_LEN + 1];
char log_file_path[H5F__MAX_VFD_SWMR_FILE_NAME_LEN + 1];
} H5F_vfd_swmr_config_t;