diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-05-20 20:13:42 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-05-20 20:13:42 +0200 |
commit | b168e3bfcd1cc7e3377d35845b2377bae42ae693 (patch) | |
tree | ed86890e79e099ed04011279eaf41ccd874b05a3 | |
parent | 869384266da437eb2f4933d814b3e360c90a6bb4 (diff) | |
download | lr-b168e3bfcd1cc7e3377d35845b2377bae42ae693.tar.gz lr-b168e3bfcd1cc7e3377d35845b2377bae42ae693.tar.xz lr-b168e3bfcd1cc7e3377d35845b2377bae42ae693.zip |
store result of getopt in int, to not break on architectures with unsigned chars
-rw-r--r-- | lr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lr.c b/lr.c index 15f7a9c..1734e45 100644 --- a/lr.c +++ b/lr.c @@ -1843,8 +1843,7 @@ timeflag(char *arg) int main(int argc, char *argv[]) { - int i; - char c; + int i, c; format = default_format; ordering = default_ordering; |