summaryrefslogtreecommitdiff
path: root/lib/libc/gen/unvis.c
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2003-02-16 17:29:11 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2003-02-16 17:29:11 +0000
commite0554a531f17f56167f978eddf29a09cc6ae9f32 (patch)
tree3b5579370346d51f378192429db2130e5e82a6e4 /lib/libc/gen/unvis.c
parent9d4156aed31c055ba32bc23b2a53d885002de085 (diff)
Notes
Diffstat (limited to 'lib/libc/gen/unvis.c')
-rw-r--r--lib/libc/gen/unvis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/unvis.c b/lib/libc/gen/unvis.c
index df6b18ff084d..94a67269769a 100644
--- a/lib/libc/gen/unvis.c
+++ b/lib/libc/gen/unvis.c
@@ -56,7 +56,7 @@ __FBSDID("$FreeBSD$");
#define S_HTTP 0x080 /* %HEXHEX escape */
#define isoctal(c) (((u_char)(c)) >= '0' && ((u_char)(c)) <= '7')
-#define ishex(c) (((u_char)(c)) >= '0' && ((u_char)(c)) <= '9' || ((u_char)(c)) >= 'a' && ((u_char)(c)) <= 'f')
+#define ishex(c) ((((u_char)(c)) >= '0' && ((u_char)(c)) <= '9') || (((u_char)(c)) >= 'a' && ((u_char)(c)) <= 'f'))
/*
* unvis - decode characters previously encoded by vis