From d6987458f21cf1890045f2606d0f8ec4d2225b44 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 3 Mar 2016 23:02:59 +0100 Subject: Cleanup and fix bug in ztrunc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/znot.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/znot.c') diff --git a/src/znot.c b/src/znot.c index 7f2f021..8504933 100644 --- a/src/znot.c +++ b/src/znot.c @@ -13,8 +13,7 @@ znot(z_t a, z_t b) } bits = zbits(b); - if (a != b) - zset(a, b); + SET(a, b); SET_SIGNUM(a, -zsignum(a)); for (n = a->used; n--;) -- cgit v1.2.3-70-g09d2