diff --git a/src/ChangeLog b/src/ChangeLog index 86ba0a16..27778fde 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-04-11 Hrvoje Niksic + + * hash.c (TOLOWER): Wrap macro arg in parentheses. + 2006-04-08 Hrvoje Niksic * http.c (parse_content_disposition): Doc fix. diff --git a/src/hash.c b/src/hash.c index f3b4be10..8b672000 100644 --- a/src/hash.c +++ b/src/hash.c @@ -54,7 +54,7 @@ so, delete this exception statement from your version. */ # define countof(x) (sizeof (x) / sizeof ((x)[0])) # endif # include -# define TOLOWER(x) tolower ((unsigned char) x) +# define TOLOWER(x) tolower ((unsigned char) (x)) # if __STDC_VERSION__ >= 199901L # include /* for uintptr_t */ # else