aboutsummaryrefslogtreecommitdiff
path: root/src/UpdateArchive.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-29 23:26:51 +0100
committerMax Kellermann <max@duempel.org>2013-01-29 23:26:51 +0100
commitf5c0b0d3168d6c34010f86a4b6878b7181d10237 (patch)
tree50304ecc4ab8690c9283051268a393e87e3a9461 /src/UpdateArchive.cxx
parentba51045d9e85b8e48afed629d6d87ac3338acd46 (diff)
ArchiveFile: convert to a class
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);