From: Tim Kientzle Date: Thu, 10 Mar 2011 06:12:24 +0000 (-0500) Subject: Not necessarily better than the cast, but consistent with how other code X-Git-Tag: v3.0.0a~669 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0979e8ad8a650682823e38616fa30cbed773ba44;p=thirdparty%2Flibarchive.git Not necessarily better than the cast, but consistent with how other code handles this type issue. SVN-Revision: 3002 --- diff --git a/libarchive/archive_write_disk.c b/libarchive/archive_write_disk.c index 78feb9ee2..ac0092783 100644 --- a/libarchive/archive_write_disk.c +++ b/libarchive/archive_write_disk.c @@ -2682,7 +2682,7 @@ set_acl(struct archive_write_disk *a, int fd, const char *name, if (entries == 0) return (ARCHIVE_OK); acl = acl_init(entries); - while (archive_acl_next((struct archive *)a, abstract_acl, + while (archive_acl_next(&a->archive, abstract_acl, ae_requested_type, &ae_type, &ae_permset, &ae_tag, &ae_id, &ae_name) == ARCHIVE_OK) { acl_create_entry(&acl, &acl_entry);