OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/xds.h.in versions 1.23 and 1.24
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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)
 

CVSTrac 2.0.1