From ca73d7838e947adfd41d4a1eb2397b70a6b13237 Mon Sep 17 00:00:00 2001 From: Ian C Date: Thu, 22 Nov 2018 10:29:21 +0000 Subject: Changed cast to int for 32-bit signed number. Really needs to be a definite 32-bit wide type. --- num.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/num.c b/num.c index 8670f61..1078e80 100644 --- a/num.c +++ b/num.c @@ -104,7 +104,7 @@ int main(int argc, char *argv[]) { h_width = 8; b_width = 32; - snum=(signed long)num; + snum=(signed int)num; } else { -- cgit v1.2.3