From 56d09bf3b5ebca0c2945f9965e216975d09347fe Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Tue, 1 Mar 2005 09:36:03 +0000 Subject: [PATCH] Avoid warning. committer: mfx 1109669763 +0000 --- src/p_lx_exc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_lx_exc.cpp b/src/p_lx_exc.cpp index efc45cb2..07341d9a 100644 --- a/src/p_lx_exc.cpp +++ b/src/p_lx_exc.cpp @@ -465,7 +465,7 @@ off_t PackLinuxI386::getbase(const Elf32_Phdr *phdr, int e_phnum) const off_t base = ~0u; for (int j = 0; j < e_phnum; ++phdr, ++j) { if (phdr->PT_LOAD == phdr->p_type) { - if ((unsigned)phdr->p_vaddr < base) + if (phdr->p_vaddr < (unsigned) base) base = phdr->p_vaddr; } }