While I'm working on scanmacho, the following small patch reduces compilation warnings to this single one (cause is 32 in some huge macro -- inlined functions anyone?) cc -O2 -pipe -D_GNU_SOURCE -o scanelf.o -c scanelf.c scanelf.c: In function ‘scanelf_file_rpath’: scanelf.c:662: warning: overflow in implicit constant conversion Anyway, the patch is mainly for the sake of Darwin, which has no ELF, so no need to barf about that either.
Created attachment 164379 [details, diff] reduce some warnings on Darwin
fixed in cvs: http://sources.gentoo.org/gentoo-projects/pax-utils/scanelf.c?r1=1.191&r2=1.192 http://sources.gentoo.org/gentoo-projects/pax-utils/scanelf.c?r1=1.192&r2=1.193