summaryrefslogtreecommitdiffstats
path: root/unzcrash.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:52:02 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:52:02 +0000
commit92e8b56a5e12ea97fa2763f34c246ca467128b97 (patch)
tree143179fb3ede09c4aa3fd48c5dc5fc25ce21d138 /unzcrash.cc
parentAdding debian version 1.17~rc2-1. (diff)
downloadlziprecover-92e8b56a5e12ea97fa2763f34c246ca467128b97.tar.xz
lziprecover-92e8b56a5e12ea97fa2763f34c246ca467128b97.zip
Merging upstream version 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] )