summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2020-05-06 11:24:19 +0200
committerChristian Hesse <mail@eworm.de>2020-05-06 11:24:19 +0200
commitcfa17a651e1fb6b99285f04fe636cde96d485ea0 (patch)
tree61f768f4e47ff4d84e2d329b469b89eec769659c
parent1d3f14b722017808ced3c940c16048d0ac631305 (diff)
alpm: pass correct type to pk_alpm_transaction_initialize()
This is `const gchar*`, so pass NULL.
-rw-r--r--backends/alpm/pk-alpm-install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/alpm/pk-alpm-install.c b/backends/alpm/pk-alpm-install.c
index e58c46cd8..4379cda2c 100644
--- a/backends/alpm/pk-alpm-install.c
+++ b/backends/alpm/pk-alpm-install.c
@@ -89,7 +89,7 @@ pk_backend_install_files_thread (PkBackendJob *job, GVariant* params, gpointer p
if (!only_trusted && !pk_alpm_disable_signatures (backend, &error))
goto out;
- if (pk_alpm_transaction_initialize (job, 0, 0, &error) &&
+ if (pk_alpm_transaction_initialize (job, 0, NULL, &error) &&
pk_alpm_transaction_add_targets (job, full_paths, &error) &&
pk_alpm_transaction_simulate (job, &error)) {
if (pk_bitfield_contain (flags, PK_TRANSACTION_FLAG_ENUM_SIMULATE)) { /* simulation */