summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-05-13 12:30:30 +0200
committerThomas Haller <thaller@redhat.com>2015-05-13 12:30:37 +0200
commit78c1849b536f86b97dd8591156492999f9260511 (patch)
treea2fc8efe7fe621009e6843f74c73d6046abe7084 /src
parent72baf9fa2498d54dd9f545af0054dd6de7d5ff2e (diff)
downloadNetworkManager-78c1849b536f86b97dd8591156492999f9260511.tar.gz
core: fix compile error due to missing pointer cast
Fixes: 72baf9fa2498d54dd9f545af0054dd6de7d5ff2e
Diffstat (limited to 'src')
-rw-r--r--src/settings/nm-settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/nm-settings.c b/src/settings/nm-settings.c
index 51258790b4..a1e1d9b7de 100644
--- a/src/settings/nm-settings.c
+++ b/src/settings/nm-settings.c
@@ -1159,7 +1159,7 @@ pk_add_cb (NMAuthChain *chain,
callback (self, added, error, context, callback_data);
/* Send agent-owned secrets to the agents */
- if (!error && added && nm_settings_has_connection (self, added))
+ if (!error && added && nm_settings_has_connection (self, (NMConnection *) added))
send_agent_owned_secrets (self, added, subject);
g_clear_error (&error);