summaryrefslogtreecommitdiff
path: root/compatbits.c
diff options
context:
space:
mode:
Diffstat (limited to 'compatbits.c')
-rw-r--r--compatbits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compatbits.c b/compatbits.c
index c485a81..f93b2e5 100644
--- a/compatbits.c
+++ b/compatbits.c
@@ -69,7 +69,7 @@ int memicmp(unsigned char *a, unsigned char *b, int n)
{
if (n)
{
- while (n && toupper(*a) == toupper(*b))
+ while (n && (toupper(*a) == toupper(*b)))
n--, a++, b++;
if (n)