aboutsummaryrefslogtreecommitdiffstats
path: root/src/zcmpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zcmpu.c')
-rw-r--r--src/zcmpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zcmpu.c b/src/zcmpu.c
index 0c7d68e..7da7f9a 100644
--- a/src/zcmpu.c
+++ b/src/zcmpu.c
@@ -5,9 +5,9 @@
int
zcmpu(z_t a, unsigned long long int b)
{
- if (!b)
+ if (EXPECT(!b, 0))
return zsignum(a);
- if (zsignum(a) <= 0)
+ if (EXPECT(zsignum(a) <= 0, 0))
return -1;
zsetu(libzahl_tmp_cmp, b);
return zcmp(a, libzahl_tmp_cmp);