From 174660cedf9568db1381a8e8840a6709fcaa96f6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 23 Aug 2006 17:20:08 +0000 Subject: * archive.c (hpux_uid_gid_encode): Fix thinko decrementing "cnt" variable. --- bfd/archive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/archive.c') diff --git a/bfd/archive.c b/bfd/archive.c index d6930fb..24bb048 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -1336,7 +1336,7 @@ hpux_uid_gid_encode (char str[6], long int id) str[5] = '@' + (id & 3); id >>= 2; - for (cnt = 4; cnt >= 0; ++cnt, id >>= 6) + for (cnt = 4; cnt >= 0; --cnt, id >>= 6) str[cnt] = ' ' + (id & 0x3f); } #endif /* HPUX_LARGE_AR_IDS */ -- cgit v1.1