Correct the int->text conversion. <sigh>

MFC after: 3 days
This commit is contained in:
Tim Kientzle 2007-01-13 03:30:14 +00:00
parent 95af1064dc
commit 2a53b50a2c

View File

@ -103,7 +103,7 @@ __archive_strappend_char(struct archive_string *as, char c)
struct archive_string *
__archive_strappend_int(struct archive_string *as, int d, int base)
{
static const char *digits = "0123457890abcdef";
static const char *digits = "0123456789abcdef";
if (d < 0) {
__archive_strappend_char(as, '-');