summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2019-06-24 20:04:38 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2019-06-24 20:04:38 (GMT)
commit7485981bcabfeb09ced49b840bf828c00816157a (patch)
tree94812430157a39049efec811cc147d2c9a8d83a7 /src/H5Fprivate.h
parent61b2dddc25483f43be5869d3436ee20e9864e05a (diff)
parent35fd0ec8ceffe96cee352187154da15c967fb990 (diff)
downloadhdf5-7485981bcabfeb09ced49b840bf828c00816157a.zip
hdf5-7485981bcabfeb09ced49b840bf828c00816157a.tar.gz
hdf5-7485981bcabfeb09ced49b840bf828c00816157a.tar.bz2
Merge pull request #8 in ~VCHOI/my_third_fork from develop to bugfix/new_shutdown_fsm
* commit '35fd0ec8ceffe96cee352187154da15c967fb990': Updated H5Tcopy() to get the dataset's datatype through the VOL when that is passed in as the object ID. Fix fortran test and test library linking Update GCC 6 & 7 flags for CMake builds Move -Wnormalized down into GCC 6.x flags Put the memcpy overlap check back into H5MM. Fixed the heap overflow in t_filters_parallel Fixed some low-hanging fruit from -fsanitize in t_filters_parallel. Add lib dir for testing plugins Add support for GCC 7.x warnings, update warnhist script to account for them, clean up warnings. Add H5_HLDLL prefix for windows link HDFFV-10805 cleanup examples and test code Fix minor typo in H5S_select_iter_release Add missing fortran mods HDFFV-10805 Fix test of library libinfo Cleanup possible CMake target conflicts Correct CMake issues
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 43644ac..a8ac158 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -160,16 +160,16 @@ typedef struct H5F_t H5F_t;
(i) |= (uint16_t)((*(p) & 0xff) << 8); (p)++; \
}
-# define INT32DECODE(p, i) { \
- (i) = ((int32_t)(*(p) & (unsigned)0xff)); (p)++; \
- (i) |= ((int32_t)(*(p) & (unsigned)0xff) << 8); (p)++; \
- (i) |= ((int32_t)(*(p) & (unsigned)0xff) << 16); (p)++; \
- (i) |= ((int32_t)(((*(p) & (unsigned)0xff) << 24) | \
- ((*(p) & (unsigned)0x80) ? (unsigned)(~0xffffffff) : (unsigned)0x0))); (p)++; \
+# define INT32DECODE(p, i) { \
+ (i) = ((int32_t)(*(p) & 0xff)); (p)++; \
+ (i) |= ((int32_t)(*(p) & 0xff) << 8); (p)++; \
+ (i) |= ((int32_t)(*(p) & 0xff) << 16); (p)++; \
+ (i) |= ((int32_t)(((*(p) & (unsigned)0xff) << 24) | \
+ ((*(p) & 0x80) ? ~0xffffffffULL : 0x0ULL))); (p)++; \
}
-# define UINT32DECODE(p, i) { \
- (i) = (uint32_t)(*(p) & 0xff); (p)++; \
+# define UINT32DECODE(p, i) { \
+ (i) = (uint32_t)(*(p) & 0xff); (p)++; \
(i) |= ((uint32_t)(*(p) & 0xff) << 8); (p)++; \
(i) |= ((uint32_t)(*(p) & 0xff) << 16); (p)++; \
(i) |= ((uint32_t)(*(p) & 0xff) << 24); (p)++; \