From f6cb7f3e7382a19a6d6d9990c243ffb8a666182d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 13 Mar 2016 05:30:01 +0100 Subject: Optimisations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zcmpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zcmpu.c') 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); -- cgit v1.2.3-70-g09d2