Bug fix
authorRobert Pengelly <robertapengelly@hotmail.com>
Thu, 4 Sep 2025 10:15:14 +0000 (11:15 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Thu, 4 Sep 2025 10:15:14 +0000 (11:15 +0100)
ranlib.c

index 4b3afec55ff3f3df55b4c8ed1bff5ffe95d1af25..0a54095ee05980b9b77ec68e5a54d5ab6ef2d18c 100644 (file)
--- 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;
         }