From 4d1bb110b97fc1e9835d295cfcd30c7125a2380d Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 24 May 2012 19:27:59 -0500 Subject: ah, c++ is too smart for the last commit's implicit conversion. --- tests/test-device.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-device.cc b/tests/test-device.cc index 3a7e8d0..388460e 100644 --- a/tests/test-device.cc +++ b/tests/test-device.cc @@ -171,7 +171,7 @@ TEST(DeviceTest, BadAccessors) indicator_power_device_get_object_path (device); // test that these functions can handle being passed non-device GObjects - device = g_cancellable_new (); + device = reinterpret_cast(g_cancellable_new ()); indicator_power_device_get_kind (device); indicator_power_device_get_time (device); indicator_power_device_get_icon (device); -- cgit v1.2.3