From 50c0d5bace5875eb0a3c4c7aafa564244e46e59c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 8 Nov 2015 05:31:16 +0100 Subject: Merging upstream version 1.2. Signed-off-by: Daniel Baumann --- ztest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ztest.cc') diff --git a/ztest.cc b/ztest.cc index c0147a6..0b47fbf 100644 --- a/ztest.cc +++ b/ztest.cc @@ -1,5 +1,5 @@ /* Ztest - verify integrity of compressed files - Copyright (C) 2010, 2011, 2012, 2013 Antonio Diaz Diaz. + Copyright (C) 2010, 2011, 2012, 2013, 2014 Antonio Diaz Diaz. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -79,7 +79,7 @@ void show_help() int open_instream( std::string & input_filename ) { - int infd = open( input_filename.c_str(), O_RDONLY | O_BINARY ); + const int infd = open( input_filename.c_str(), O_RDONLY | O_BINARY ); if( infd < 0 ) show_error2( "Can't open input file", input_filename.c_str() ); return infd; -- cgit v1.2.3