]> sjero.net Git - wget/commitdiff
[svn] Wrap macro arg in parentheses.
authorhniksic <devnull@localhost>
Tue, 11 Apr 2006 18:03:14 +0000 (11:03 -0700)
committerhniksic <devnull@localhost>
Tue, 11 Apr 2006 18:03:14 +0000 (11:03 -0700)
src/ChangeLog
src/hash.c

index 86ba0a162de87b35c81601c2866b8b922b521f86..27778fdeea8c94130df2df06203f3529f7e7529e 100644 (file)
@@ -1,3 +1,7 @@
+2006-04-11  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * hash.c (TOLOWER): Wrap macro arg in parentheses.
+
 2006-04-08  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * http.c (parse_content_disposition): Doc fix.
index f3b4be100216a914adb6ef340a6c1dc0a488c94f..8b672000f60edc174bf9adeed937a437874ca201 100644 (file)
@@ -54,7 +54,7 @@ so, delete this exception statement from your version.  */
 #  define countof(x) (sizeof (x) / sizeof ((x)[0]))
 # endif
 # include <ctype.h>
-# define TOLOWER(x) tolower ((unsigned char) x)
+# define TOLOWER(x) tolower ((unsigned char) (x))
 # if __STDC_VERSION__ >= 199901L
 #  include <stdint.h>  /* for uintptr_t */
 # else