From c3b5c260343f8c28e777cd2a74ab72482dc9c374 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Thu, 4 Sep 2025 11:15:14 +0100 Subject: [PATCH] Bug fix --- ranlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1