summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2012-02-09 15:25:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2012-02-09 15:25:08 (GMT)
commit67c2e3aa27d0568a0e68c4cecc02417a26c52980 (patch)
tree9ebd64244d5ec4f1ebf43d045cf2dc2c348a885e
parentc9033a802ba2db0fad44e128258afde1ac8cf54a (diff)
downloadhdf5-67c2e3aa27d0568a0e68c4cecc02417a26c52980.zip
hdf5-67c2e3aa27d0568a0e68c4cecc02417a26c52980.tar.gz
hdf5-67c2e3aa27d0568a0e68c4cecc02417a26c52980.tar.bz2
[svn-r21921] Description:
Add more braces to master conversion macro that was changed in r21919 Tested on: Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel
-rw-r--r--src/H5Tconv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index ab538e8..6795ef1 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -602,6 +602,7 @@
/* The main part of every integer hardware conversion macro */
#define H5T_CONV(GUTS,STYPE,DTYPE,ST,DT,D_MIN,D_MAX) \
+{ \
herr_t ret_value=SUCCEED; /* Return value */ \
\
FUNC_ENTER_NOAPI(FAIL) \
@@ -753,7 +754,8 @@
} \
\
done: \
- FUNC_LEAVE_NOAPI(ret_value)
+ FUNC_LEAVE_NOAPI(ret_value) \
+}
/* Macro defining action on source data which needs to be aligned (before main action) */
#define H5T_CONV_LOOP_PRE_SALIGN(ST) { \