aboutsummaryrefslogtreecommitdiff
path: root/src/UpdateArchive.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/UpdateArchive.cxx')
-rw-r--r--src/UpdateArchive.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/UpdateArchive.cxx b/src/UpdateArchive.cxx
index 88d67fbc..41a73b42 100644
--- a/src/UpdateArchive.cxx
+++ b/src/UpdateArchive.cxx
@@ -101,8 +101,7 @@ update_archive_file2(Directory *parent, const char *name,
/* open archive */
GError *error = NULL;
- struct archive_file *file = archive_file_open(plugin, path_fs.c_str(),
- &error);
+ ArchiveFile *file = archive_file_open(plugin, path_fs.c_str(), &error);
if (file == NULL) {
g_warning("%s", error->message);
g_error_free(error);