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/indicator-power-service-cmdline-battery.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/indicator-power-service-cmdline-battery.cc') diff --git a/tests/indicator-power-service-cmdline-battery.cc b/tests/indicator-power-service-cmdline-battery.cc index a7a86a1..30ca178 100644 --- a/tests/indicator-power-service-cmdline-battery.cc +++ b/tests/indicator-power-service-cmdline-battery.cc @@ -37,7 +37,7 @@ static void on_name_lost (gpointer instance G_GNUC_UNUSED, gpointer loop) { g_message ("exiting: service couldn't acquire or lost ownership of busname"); - g_main_loop_quit ((GMainLoop*)loop); + g_main_loop_quit (static_cast(loop)); } static IndicatorPowerDevice * battery = nullptr; -- cgit v1.2.3