ossp-pkg/xds/xds.h.in 1.23 -> 1.24
--- xds.h.in 2004/09/12 17:32:14 1.23
+++ xds.h.in 2005/03/30 19:22:50 1.24
@@ -102,8 +102,8 @@
xds_check_parameter(buffer_size != 0); \
xds_check_parameter(used_buffer_size != NULL && *used_buffer_size == 0); \
xds_check_parameter(args != NULL); \
- *used_buffer_size = size; \
- if (buffer_size < size) \
+ *used_buffer_size = (size); \
+ if (buffer_size < (size)) \
return XDS_ERR_OVERFLOW; \
} while (XDS_FALSE)
@@ -114,8 +114,8 @@
xds_check_parameter(buffer_size != 0); \
xds_check_parameter(used_buffer_size != NULL && *used_buffer_size == 0); \
xds_check_parameter(args != NULL); \
- *used_buffer_size = size; \
- if (buffer_size < size) \
+ *used_buffer_size = (size); \
+ if (buffer_size < (size)) \
return XDS_ERR_UNDERFLOW; \
} while (XDS_FALSE)
|
|