summaryrefslogtreecommitdiff
path: root/num.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-11-22 10:29:21 +0000
committerIan C <ianc@noddybox.co.uk>2018-11-22 10:29:21 +0000
commitca73d7838e947adfd41d4a1eb2397b70a6b13237 (patch)
tree0cd152188d34a44ae4acfe976c800686b75a6263 /num.c
parent06e8ec7c90f4e6ea848a759edf47d5e823cf34b8 (diff)
Changed cast to int for 32-bit signed number. Really needs to be a definite
32-bit wide type.
Diffstat (limited to 'num.c')
-rw-r--r--num.c2
1 files changed, 1 insertions, 1 deletions
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
{