diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ustar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ustar.c b/src/ustar.c index 63998ec..c616ac8 100644 --- a/src/ustar.c +++ b/src/ustar.c @@ -67,7 +67,7 @@ _opkg_opk_ustar_next(struct opkg_opk_gzip_state *gzip_state, const char *member, return OPKG_OPK_ERROR; } - size = strtol(header->size, &size_end, 10); + size = strtol(header->size, &size_end, 8); if (*size_end != '\0') { return OPKG_OPK_ERROR; } |