about summary refs log tree commit diff
path: root/shared/nm-utils/nm-udev-utils.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-05-11 22:09:26 +0200
committerMichael Biebl <biebl@debian.org>2018-05-11 22:09:26 +0200
commit341d403947279cd347ebd975cae8977703c0b1f3 (patch)
tree34fa6425901e37182b353e7c95dd1d1ec8bc41ec /shared/nm-utils/nm-udev-utils.c
parent962a081193fcc84bbcead3dac6ebe36ccf4415ed (diff)
parentee9c73a923909e23a649407be77e25235d769e25 (diff)
Update upstream source from tag 'upstream/1.10.8'
Update to upstream version '1.10.8'
with Debian dir 3c3431643bdd2871afa3e1131ed2320f988f564d
Diffstat (limited to 'shared/nm-utils/nm-udev-utils.c')
-rw-r--r--shared/nm-utils/nm-udev-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/nm-utils/nm-udev-utils.c b/shared/nm-utils/nm-udev-utils.c
index 79d4426d..709f7590 100644
--- a/shared/nm-utils/nm-udev-utils.c
+++ b/shared/nm-utils/nm-udev-utils.c
@@ -257,7 +257,7 @@ nm_udev_client_new (const char *const*subsystems,
 				channel = g_io_channel_unix_new (udev_monitor_get_fd (self->monitor));
 				self->watch_source = g_io_create_watch (channel, G_IO_IN);
 				g_io_channel_unref (channel);
-				g_source_set_callback (self->watch_source, (GSourceFunc) monitor_event, self, NULL);
+				g_source_set_callback (self->watch_source, (GSourceFunc)(void (*) (void)) monitor_event, self, NULL);
 				g_source_attach (self->watch_source, g_main_context_get_thread_default ());
 				g_source_unref (self->watch_source);
 			}