From d0fc63394c52933c8380fe56b9ea2aebe7791f19 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 7 Sep 2014 23:56:10 -0500 Subject: silence warnings generated by clang -Weverything --- tests/test-notify.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test-notify.cc') diff --git a/tests/test-notify.cc b/tests/test-notify.cc index b5166a0..d056f3f 100644 --- a/tests/test-notify.cc +++ b/tests/test-notify.cc @@ -131,7 +131,7 @@ protected: bus = g_bus_get_sync(G_BUS_TYPE_SESSION, nullptr, nullptr); g_dbus_connection_set_exit_on_close(bus, FALSE); - g_object_add_weak_pointer(G_OBJECT(bus), (gpointer *)&bus); + g_object_add_weak_pointer(G_OBJECT(bus), reinterpret_cast(&bus)); notify_init(APP_NAME); } -- cgit v1.2.3