diff options
author | Ian C <ianc@noddybox.co.uk> | 2018-11-22 10:29:21 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2018-11-22 10:29:21 +0000 |
commit | ca73d7838e947adfd41d4a1eb2397b70a6b13237 (patch) | |
tree | 0cd152188d34a44ae4acfe976c800686b75a6263 /num.c | |
parent | 06e8ec7c90f4e6ea848a759edf47d5e823cf34b8 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |