summaryrefslogtreecommitdiffstats
path: root/unzcrash.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:51:54 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:51:54 +0000
commit99cf739e47c65174bda9e47a4d399b98522ed1a8 (patch)
treeac9565e82f830226cdeb139a39ce16da82ea059f /unzcrash.cc
parentAdding upstream version 1.17~rc2. (diff)
downloadlziprecover-99cf739e47c65174bda9e47a4d399b98522ed1a8.tar.xz
lziprecover-99cf739e47c65174bda9e47a4d399b98522ed1a8.zip
Adding upstream version 1.17.upstream/1.17
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'unzcrash.cc')
-rw-r--r--unzcrash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unzcrash.cc b/unzcrash.cc
index fd1c816..49f67aa 100644
--- a/unzcrash.cc
+++ b/unzcrash.cc
@@ -128,7 +128,7 @@ unsigned long 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;
bool bad_multiplier = false;
switch( tail[0] )