From 2a58c7d2077c878cde6513cebbef5669716952d4 Mon Sep 17 00:00:00 2001 From: hniksic Date: Tue, 11 Apr 2006 11:03:14 -0700 Subject: [PATCH] [svn] Wrap macro arg in parentheses. --- src/ChangeLog | 4 ++++ src/hash.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.2