diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-10-25 16:21:23 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-11-01 11:28:51 +0100 |
commit | 2910531c99e80bede06d2f1460459e8f6ce79961 (patch) | |
tree | 53e00ae90b6b297f890cbdd313fc0e02438c44ce /source | |
parent | ce8520963dbf8931b08c691a2740ec604cd1c01a (diff) | |
download | mupdf-2910531c99e80bede06d2f1460459e8f6ce79961.tar.xz |
Don't use 'long' needlessly.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/string.c b/source/fitz/string.c index 9872d114..e3c62d02 100644 --- a/source/fitz/string.c +++ b/source/fitz/string.c @@ -287,7 +287,7 @@ int fz_chartorune(int *rune, const char *str) { int c, c1, c2, c3; - long l; + int l; /* * one character sequence @@ -362,7 +362,7 @@ int fz_runetochar(char *str, int rune) { /* Runes are signed, so convert to unsigned for range check. */ - unsigned long c = (unsigned long)rune; + unsigned int c = (unsigned int)rune; /* * one character sequence |