From 6e7edb8b8cbf99be8c367073831fff684eeebd2f Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Mon, 30 Jan 2012 15:46:16 +0100 Subject: [PATCH] vpnc: Fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Assignment discards ‘const’ qualifier from pointer target type. --- plugins/vpnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/vpnc.c b/plugins/vpnc.c index cd707dc..3f7df60 100644 --- a/plugins/vpnc.c +++ b/plugins/vpnc.c @@ -231,7 +231,7 @@ static int vc_write_config_data(struct connman_provider *provider, int fd) static int vc_save(struct connman_provider *provider, GKeyFile *keyfile) { - char *option; + const char *option; int i; for (i = 0; i < (int)ARRAY_SIZE(vpnc_options); i++) { -- 2.7.4