summaryrefslogtreecommitdiff
path: root/compatbits.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2023-05-25 14:17:53 +0100
committerJohn Wiseman <john.wiseman@cantab.net>2023-05-25 14:17:53 +0100
commit4924c1223ef5e47353ef34892b732c2081096427 (patch)
treebfc0e3c6ef678127d747e47431d4054b73ed160d /compatbits.c
parentac7e6b99beace1e002246436175581d01b02a117 (diff)
6.0.23.7023.71
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)