From f88b85e12660e9fdb453bbb2380107b741ce4179 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Tue, 9 Oct 2018 20:27:19 -0700 Subject: [PATCH] MSVC error C4146: unary minus operator applied to unsigned type, result still unsigned modified: p_lx_elf.cpp --- src/p_lx_elf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_lx_elf.cpp b/src/p_lx_elf.cpp index 02055c7e..dd3d12a1 100644 --- a/src/p_lx_elf.cpp +++ b/src/p_lx_elf.cpp @@ -4861,7 +4861,7 @@ void PackLinuxElf32::unpack(OutputFile *fo) set_te32(&sym->st_value, symval - asl_delta); } if (Elf32_Sym::SHN_ABS == symsec && xct_off <= symval) { - adjABS(sym, -asl_delta); + adjABS(sym, 0u - asl_delta); } } }