From f5c0b0d3168d6c34010f86a4b6878b7181d10237 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Jan 2013 23:26:51 +0100 Subject: ArchiveFile: convert to a class --- src/UpdateArchive.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/UpdateArchive.cxx') 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); -- cgit v1.2.3