summaryrefslogtreecommitdiff
path: root/src/ne_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ne_string.c')
-rw-r--r--src/ne_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ne_string.c b/src/ne_string.c
index 801f79e..fd7883e 100644
--- a/src/ne_string.c
+++ b/src/ne_string.c
@@ -661,7 +661,7 @@ static const char hexmap[16] = {
'8', '9', 'a', 'b', 'c', 'd', 'e', 'f'
};
-#define HEX2ASC(a) (hexmap[(unsigned)a & 0xf])
+#define HEX2ASC(a) (hexmap[((unsigned)(a)) & 0xf])
char *ne__strhash2hex(const unsigned char *digest, size_t len,
unsigned int flags)