* archive.c (hpux_uid_gid_encode): Fix thinko decrementing "cnt" variable.

This commit is contained in:
Nick Clifton
2006-08-23 17:20:08 +00:00
parent 96fbad7318
commit 174660cedf
2 changed files with 6 additions and 1 deletions

View File

@ -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 */