aboutsummaryrefslogtreecommitdiff
path: root/tests/test-notify.cc
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-09-07 23:56:10 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-09-07 23:56:10 -0500
commitd0fc63394c52933c8380fe56b9ea2aebe7791f19 (patch)
treecd71996d23142816c9ab4518233f4be5c76210ce /tests/test-notify.cc
parent059246d136ed8c24c5e78e6a966bf2dfc945fe4e (diff)
downloadayatana-indicator-power-d0fc63394c52933c8380fe56b9ea2aebe7791f19.tar.gz
ayatana-indicator-power-d0fc63394c52933c8380fe56b9ea2aebe7791f19.tar.bz2
ayatana-indicator-power-d0fc63394c52933c8380fe56b9ea2aebe7791f19.zip
silence warnings generated by clang -Weverything
Diffstat (limited to 'tests/test-notify.cc')
-rw-r--r--tests/test-notify.cc2
1 files changed, 1 insertions, 1 deletions
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<gpointer*>(&bus));
notify_init(APP_NAME);
}