aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2016-04-07 20:31:33 -0400
committerQuentin Carbonneaux <[email protected]>2016-04-07 20:31:33 -0400
commit554ba694ab54fe5d318fb3b3065808361df50f0b (patch)
tree719d8ec72200f07415cc446608738f8c0dd8ba90
parent9294295bb54c27da644c4e6f413537ae46883ca1 (diff)
use cast in czero()
-rw-r--r--fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fold.c b/fold.c
index 740ad6b..f29e20a 100644
--- a/fold.c
+++ b/fold.c
@@ -26,7 +26,7 @@ czero(Con *c, int w)
if (w)
return !c->bits.i;
else
- return !(c->bits.i & 0xffffffff);
+ return !(uint32_t)c->bits.i;
}
static int