about summary refs log tree commit diff
path: root/src/dns/nm-dns-plugin.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-10-21 03:00:34 +0200
committerMichael Biebl <biebl@debian.org>2018-10-21 03:00:34 +0200
commit1f85f9683a41ca116af20fd19940576040303080 (patch)
tree54c4ac337fe0b0091772b7ef6a22c715dd985fab /src/dns/nm-dns-plugin.c
parenteca0cfe89a2a7ec88abe9c03075160f46b338137 (diff)
parent5554398639fa9e344bd12205a64874e6436b936e (diff)
Merge branch 'experimental'
Diffstat (limited to 'src/dns/nm-dns-plugin.c')
-rw-r--r--src/dns/nm-dns-plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dns/nm-dns-plugin.c b/src/dns/nm-dns-plugin.c
index d9400e3e..48f04b00 100644
--- a/src/dns/nm-dns-plugin.c
+++ b/src/dns/nm-dns-plugin.c
@@ -124,7 +124,7 @@ _clear_pidfile (NMDnsPlugin *self)
 static void
 kill_existing (const char *progname, const char *pidfile, const char *kill_match)
 {
-	glong pid;
+	long pid;
 	gs_free char *contents = NULL;
 	gs_free char *cmdline_contents = NULL;
 	guint64 start_time;
@@ -167,7 +167,7 @@ out:
 }
 
 static void
-watch_cb (GPid pid, gint status, gpointer user_data)
+watch_cb (GPid pid, int status, gpointer user_data)
 {
 	NMDnsPlugin *self = NM_DNS_PLUGIN (user_data);
 	NMDnsPluginPrivate *priv = NM_DNS_PLUGIN_GET_PRIVATE (self);