about summary refs log tree commit diff
path: root/libnm/nm-dns-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-dns-manager.c')
-rw-r--r--libnm/nm-dns-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/nm-dns-manager.c b/libnm/nm-dns-manager.c
index 37117b72..b833d0c6 100644
--- a/libnm/nm-dns-manager.c
+++ b/libnm/nm-dns-manager.c
@@ -277,7 +277,7 @@ demarshal_dns_configuration (NMObject *object, GParamSpec *pspec, GVariant *valu
 		char **nameservers = NULL, **domains = NULL;
 		gboolean vpn = FALSE;
 		char *interface = NULL, *str;
-		int priority;
+		gint priority;
 
 		if (   !g_variant_lookup (entry_var, "nameservers", "as", &iterp)
 		    || !g_variant_lookup (entry_var, "priority", "i", &priority)) {