MSVC pecadillos

modified:   p_lx_elf.cpp
	modified:   pefile.cpp
This commit is contained in:
John Reiser
2018-01-11 12:01:00 -08:00
parent ee3f1292d0
commit 969efe687d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ int PeFile::readFileHeader()
: (h.p512*512+h.m512 - h.m512 ? 512 : 0);
if ((pe_offset + delta) < delta // wrap-around
|| (pe_offset + delta) > file_size) {
|| (pe_offset + delta) > (unsigned)file_size) {
char buf[64]; snprintf(buf, sizeof(buf),
"bad PE delta %#x at offset %#x", delta, pe_offset);
throwCantPack(buf);