diff options
author | midipix <writeonce@midipix.org> | 2024-01-28 16:16:06 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-01-28 16:16:06 +0000 |
commit | 2f121c3724d807349b360f8f896f62c2f9dbff90 (patch) | |
tree | 609fb3dfcc460801bc5d204c7d856e84c6a51f6f | |
parent | b6b8ce4e9628a8900002ccbe2a583133b87259b2 (diff) | |
download | slibtool-2f121c3724d807349b360f8f896f62c2f9dbff90.tar.bz2 slibtool-2f121c3724d807349b360f8f896f62c2f9dbff90.tar.xz |
slbt_archive_member_from_offset(): fix typo in expression (oops).
-rw-r--r-- | src/arbits/slbt_archive_meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/slbt_archive_meta.c b/src/arbits/slbt_archive_meta.c index 435641e..0aebbe3 100644 --- a/src/arbits/slbt_archive_meta.c +++ b/src/arbits/slbt_archive_meta.c @@ -784,7 +784,7 @@ struct ar_meta_member_info * slbt_archive_member_from_offset( while (l != r) { m = (l + r) / 2; - m += (l + 2) % 2; + m += (l + r) % 2; if (offsetv[m] > offset) { r = --m; |