From 0c1ac731ff6893b4b98c665f55eda70567cc8f59 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mon, 9 Sep 2013 15:52:21 +0200 Subject: [PATCH] network: Silence compiler warning Use an explicit typecast from gpointer to const gchar **. --- panels/network/cc-network-panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c index d73481012..8936e9f08 100644 --- a/panels/network/cc-network-panel.c +++ b/panels/network/cc-network-panel.c @@ -198,7 +198,7 @@ cc_network_panel_set_property (GObject *object, GPtrArray *array; const gchar **args; array = variant_av_to_string_array (parameters); - args = array->pdata; + args = (const gchar **) array->pdata; g_debug ("Invoked with operation %s", args[0]);