diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 05:09:27 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 05:09:27 +0000 |
commit | 92533af3edd2386f8fa92e2fd8cdd7217e4529ef (patch) | |
tree | de8fba955b26579d3a8450e540e0a900747c70d2 /main.c | |
parent | Adding debian version 1.7~pre1-1. (diff) | |
download | lunzip-92533af3edd2386f8fa92e2fd8cdd7217e4529ef.tar.xz lunzip-92533af3edd2386f8fa92e2fd8cdd7217e4529ef.zip |
Merging upstream version 1.7.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -168,7 +168,7 @@ static unsigned long getnum( const char * const ptr, if( !errno && tail[0] ) { - int factor = ( tail[1] == 'i' ) ? 1024 : 1000; + const int factor = ( tail[1] == 'i' ) ? 1024 : 1000; int exponent = 0, i; bool bad_multiplier = false; switch( tail[0] ) @@ -211,7 +211,7 @@ static unsigned long getnum( const char * const ptr, static int get_dict_size( const char * const arg ) { char * tail; - int bits = strtol( arg, &tail, 0 ); + const int bits = strtol( arg, &tail, 0 ); if( bits >= min_dictionary_bits && bits <= max_dictionary_bits && *tail == 0 ) return ( 1 << bits ); |