From c2aa5c35f7b69ee169af95f12b467b13aa7b6217 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Mon, 25 Feb 2019 13:41:54 +0100 Subject: [PATCH] Silence a gcc-4.6 compiler warning. --- src/pefile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pefile.cpp b/src/pefile.cpp index cdb3f85b..24dea07e 100644 --- a/src/pefile.cpp +++ b/src/pefile.cpp @@ -1432,9 +1432,9 @@ void PeFile::processLoadConf(Interval *iv) // pass 1 soloadconf = get_le32(loadconf); if (soloadconf == 0) return; - static int const MAX_SOLOADCONF = 256; // XXX FIXME: Why? + static unsigned const MAX_SOLOADCONF = 256; // XXX FIXME: Why? if (soloadconf > MAX_SOLOADCONF) - info("Load Configuration directory %d > %d", soloadconf, MAX_SOLOADCONF); + info("Load Configuration directory %u > %u", soloadconf, MAX_SOLOADCONF); // if there were relocation entries referring to the load config table // then we need them for the copy of the table too