commit | 9a66a831c0aedeee121e21844b80d66d18854c77 | [log] [tgz] |
---|---|---|
author | Gavin Howard <yzena.tech@gmail.com> | Mon May 13 20:20:12 2019 -0600 |
committer | Gavin Howard <yzena.tech@gmail.com> | Mon May 13 20:20:12 2019 -0600 |
tree | 45fde43229279053c685950fe8f5cfda03861a46 | |
parent | 5b4437a5dd8bb0ce2a380ba7a97ee0afb2ef27b3 [diff] |
Adjust a type
diff --git a/src/num.c b/src/num.c index 95e10a8..a193d50 100644 --- a/src/num.c +++ b/src/num.c
@@ -211,7 +211,7 @@ size_t len) { size_t i; - long c = 0; + BcDig c = 0; for (i = len - 1; BC_NO_SIG && i < len && !(c = a[i] - b[i]); --i); return BC_SIG ? BC_NUM_CMP_SIGNAL : bc_num_neg(i + 1, c < 0); }