summaryrefslogtreecommitdiff
path: root/zap/src/mem/strcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'zap/src/mem/strcmp.c')
-rw-r--r--zap/src/mem/strcmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zap/src/mem/strcmp.c b/zap/src/mem/strcmp.c
index 691717a..d620560 100644
--- a/zap/src/mem/strcmp.c
+++ b/zap/src/mem/strcmp.c
@@ -17,7 +17,7 @@ zap_cmp zap_strcmp(char const * const _lstr,char const * const _rstr) {
unsigned char const lchr = *lpos;
unsigned char const rchr = *rpos;
sus_likely (lchr != rchr) {return lchr < rchr ? zap_lt : zap_gt;}
- sus_unlikely (lchr == (unsigned char)0x0) {return zap_eq;}
+ if (lchr == (unsigned char)0x0) {return zap_eq;}
}
sus_unreach();
}