diff options
Diffstat (limited to 'libupower-glib')
-rw-r--r-- | libupower-glib/up-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libupower-glib/up-client.c b/libupower-glib/up-client.c index 93d3507..5a1cbc6 100644 --- a/libupower-glib/up-client.c +++ b/libupower-glib/up-client.c @@ -120,7 +120,7 @@ up_client_get_devices_full (UpClient *client, for (i = 0; devices[i] != NULL; i++) { UpDevice *device; - const char *object_path = ((char **)devices)[i]; + const char *object_path = devices[i]; gboolean ret; device = up_device_new (); |