diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-02-01 22:33:14 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-02-01 22:33:14 +0100 |
commit | cd5ea9113c66fca6c7dd49f35188bda8c186dc57 (patch) | |
tree | 6258a8c1015a91ca8fcab25a781d9cbf7698f585 /lr.c | |
parent | 75157990fbf934ab19847c81981ee31397566308 (diff) | |
download | lr-cd5ea9113c66fca6c7dd49f35188bda8c186dc57.tar.gz lr-cd5ea9113c66fca6c7dd49f35188bda8c186dc57.tar.xz lr-cd5ea9113c66fca6c7dd49f35188bda8c186dc57.zip |
fix type of intlen to not overflow on large file sizes
Diffstat (limited to 'lr.c')
-rw-r--r-- | lr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lr.c b/lr.c index 6421800..56f2d77 100644 --- a/lr.c +++ b/lr.c @@ -1120,7 +1120,7 @@ order(const void *a, const void *b) } static int -intlen(int i) +intlen(intmax_t i) { int s; for (s = 1; i > 9; i /= 10) |