From 96b40505b199d13ab445ecb79e26d9c94c7d05b8 Mon Sep 17 00:00:00 2001 From: mourisl Date: Tue, 13 Aug 2024 13:10:01 -0400 Subject: [PATCH] Fix another signed char issue in FileLineReader --- FileLineReader.hpp | 2 +- run-trust4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FileLineReader.hpp b/FileLineReader.hpp index 599be9a..7bd9318 100644 --- a/FileLineReader.hpp +++ b/FileLineReader.hpp @@ -62,7 +62,7 @@ class FileLineReader return NULL ; int len = 0 ; - while ((c = fgetc(fp)) != EOF) + while ((c = fgetc(fp)) != (char)EOF) { buffer[len] = c ; ++len ; diff --git a/run-trust4 b/run-trust4 index 774b557..d977185 100755 --- a/run-trust4 +++ b/run-trust4 @@ -7,7 +7,7 @@ use Cwd qw(cwd abs_path) ; use File::Basename ; use File::Path qw(make_path) ; -my $version = "v1.1.4-r533" ; +my $version = "v1.1.4-r534" ; die "TRUST4 $version usage: ./run-trust4 [OPTIONS]:\n". "Required:\n".