From f3f7f97f8d1a020a58bafc932f3984a90a6876b3 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sun, 9 Sep 2018 15:57:00 -0700 Subject: [PATCH] MSVC signed/unsigned modified: p_mach.cpp --- src/p_mach.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_mach.cpp b/src/p_mach.cpp index d1262321..29de6cae 100644 --- a/src/p_mach.cpp +++ b/src/p_mach.cpp @@ -1774,8 +1774,8 @@ int PackMachBase::canUnpack() if ( 0==p[0] // p_info.p_progid && 0!=p[1] // p_info.p_filesize && p[2]==p[1] // p_info.p_blocksize == p_info.p_filesize - && file_size < get_te32(&p[1]) // compression was worthwhile - && sz_mach_headers==get_te32(&p[3]) // b_info.sz_unc + && (TE32)file_size < get_te32(&p[1]) // compression was worthwhile + && sz_mach_headers== get_te32(&p[3]) // b_info.sz_unc ) { overlay_offset = ((char const *)p - (char const *)&buf2[0]) + sz_mach_headers; if (!(3&overlay_offset // not word aligned