From: Robert Pengelly Date: Thu, 4 Sep 2025 10:15:14 +0000 (+0100) Subject: Bug fix X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=c3b5c260343f8c28e777cd2a74ab72482dc9c374;p=sar.git Bug fix --- diff --git a/ranlib.c b/ranlib.c index 4b3afec..0a54095 100644 --- a/ranlib.c +++ b/ranlib.c @@ -304,7 +304,7 @@ static void elf64_get_symbols (void *object, int64_t offset, int endianess) { memcpy (&shdr, (char *) object + e_shoff + i * e_shentsize, sizeof (shdr)); - if (array_to_integer (shdr.sh_type, 4, endianess) != 2, 4) { + if (array_to_integer (shdr.sh_type, 4, endianess) != 2) { continue; }