about summary refs log tree commit diff
path: root/dispatcher/tests
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-09-23 10:10:27 +0200
committerMichael Biebl <biebl@debian.org>2018-09-23 10:10:27 +0200
commite126f3e804c35480c4f075777430419d6ece23da (patch)
tree5d5821ebcda8cd6ac34d2483bb3354910e508930 /dispatcher/tests
parentc240974325c552cad177c457d6ff04e381fd77a3 (diff)
New upstream version 1.12.4 upstream/1.12.4
Diffstat (limited to 'dispatcher/tests')
-rw-r--r--dispatcher/tests/meson.build3
-rw-r--r--dispatcher/tests/test-dispatcher-envp.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/dispatcher/tests/meson.build b/dispatcher/tests/meson.build
index b18c66e5..6ead88bf 100644
--- a/dispatcher/tests/meson.build
+++ b/dispatcher/tests/meson.build
@@ -13,7 +13,8 @@ exe = executable(
   c_args: [
       '-DNETWORKMANAGER_COMPILATION_TEST',
       '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
-    ],
+    ] +
+    nm_build_cflags,
   link_with: libnm_dispatcher_core
 )
 
diff --git a/dispatcher/tests/test-dispatcher-envp.c b/dispatcher/tests/test-dispatcher-envp.c
index 78bcd233..5fa4a314 100644
--- a/dispatcher/tests/test-dispatcher-envp.c
+++ b/dispatcher/tests/test-dispatcher-envp.c
@@ -124,7 +124,7 @@ parse_device (GKeyFile *kf, GVariant **out_device_props, GError **error)
 {
 	GVariantBuilder props;
 	char *tmp;
-	int i;
+	gint i;
 
 	g_variant_builder_init (&props, G_VARIANT_TYPE ("a{sv}"));