From 153ea8be037f660c7fe0417905ac7c7200d6ce55 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Tue, 11 Sep 2018 21:13:27 -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 29de6cae..55efdde2 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 - && (TE32)file_size < get_te32(&p[1]) // compression was worthwhile - && sz_mach_headers== get_te32(&p[3]) // b_info.sz_unc + && (unsigned)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