summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2011-10-20 22:20:00 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2011-10-20 22:20:00 (GMT)
commitc36a79fd91206a67cc159e6881cb1b9fce2d2b83 (patch)
tree3733581c711178e6cd0f23ee0fdfa9959e1896f5 /src/H5Oprivate.h
parentfd619754ac6c01025528e878497aae032b9a5b78 (diff)
downloadhdf5-c36a79fd91206a67cc159e6881cb1b9fce2d2b83.zip
hdf5-c36a79fd91206a67cc159e6881cb1b9fce2d2b83.tar.gz
hdf5-c36a79fd91206a67cc159e6881cb1b9fce2d2b83.tar.bz2
[svn-r21631] Port revisions 21629 and 21630 to 1.8 branch
Purpose: Update fix committed in r21556 Description: An old patch was mistakenly committed in r21556. Replaced this fix with the latest. Tested: jam, koala, heiwa (h5committest)
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index 3f10e81..2640dee 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -110,11 +110,13 @@ typedef struct H5O_t H5O_t;
/* Set the fields in a shared message structure */
#define H5O_UPDATE_SHARED(SH_MESG, SH_TYPE, F, MSG_TYPE, CRT_IDX, OH_ADDR) \
- (SH_MESG)->type = (SH_TYPE); \
- (SH_MESG)->file = (F); \
- (SH_MESG)->msg_type_id = (MSG_TYPE); \
- (SH_MESG)->u.loc.index = (CRT_IDX); \
- (SH_MESG)->u.loc.oh_addr = (OH_ADDR);
+ { \
+ (SH_MESG)->type = (SH_TYPE); \
+ (SH_MESG)->file = (F); \
+ (SH_MESG)->msg_type_id = (MSG_TYPE); \
+ (SH_MESG)->u.loc.index = (CRT_IDX); \
+ (SH_MESG)->u.loc.oh_addr = (OH_ADDR); \
+ } /* end block */
/* Fractal heap ID type for shared message & attribute heap IDs. */