diff options
-rw-r--r-- | src/H5Dpublic.h | 4 | ||||
-rw-r--r-- | src/H5Tpublic.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Dpublic.h b/src/H5Dpublic.h index 16abaea..b708422 100644 --- a/src/H5Dpublic.h +++ b/src/H5Dpublic.h @@ -28,8 +28,8 @@ /*****************/ /* Macros used to "unset" chunk cache configuration parameters */ -#define H5D_CHUNK_CACHE_NSLOTS_DEFAULT SIZE_MAX -#define H5D_CHUNK_CACHE_NBYTES_DEFAULT SIZE_MAX +#define H5D_CHUNK_CACHE_NSLOTS_DEFAULT ((size_t)-1) +#define H5D_CHUNK_CACHE_NBYTES_DEFAULT ((size_t)-1) #define H5D_CHUNK_CACHE_W0_DEFAULT (-1.0) /* Bit flags for the H5Pset_chunk_opts() and H5Pget_chunk_opts() */ diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h index 3b757fa..9711178 100644 --- a/src/H5Tpublic.h +++ b/src/H5Tpublic.h @@ -245,7 +245,7 @@ typedef struct { * Indicate that a string is variable length (null-terminated in C, instead of * fixed length) */ -#define H5T_VARIABLE SIZE_MAX +#define H5T_VARIABLE ((size_t)-1) /* Opaque information */ /** @@ -3021,4 +3021,4 @@ H5_DLL int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[]); #ifdef __cplusplus } #endif -#endif /* H5Tpublic_H */ +#endif /* H5Tpublic_H */
\ No newline at end of file |