From 04c9e89353f8391863f10bbdbcd79eb25656b62c Mon Sep 17 00:00:00 2001
From: Lars Kanis <lars@greiz-reinsdorf.de>
Date: Thu, 13 Mar 2014 20:11:45 +0100
Subject: [PATCH] =?UTF-8?q?Avoid=20warning:=20../../../../ext/fox16=5Fc/FX?=
 =?UTF-8?q?RbApp.cpp:=20In=20static=20member=20function=20=E2=80=98static?=
 =?UTF-8?q?=20FXRbApp*=20FXRbApp::constructAndInit(const=20FXchar*,=20cons?=
 =?UTF-8?q?t=20FXchar*)=E2=80=99:=20../../../../ext/fox16=5Fc/FXRbApp.cpp:?=
 =?UTF-8?q?58:28:=20warning:=20deprecated=20conversion=20from=20string=20c?=
 =?UTF-8?q?onstant=20to=20=E2=80=98char*=E2=80=99=20[-Wwrite-strings]=20?=
 =?UTF-8?q?=20=20=20static=20char*=20argv[]=3D{"",0};=20=20=20=20=20=20=20?=
 =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?=
 =?UTF-8?q?=20^?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ext/fox16_c/FXRbApp.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/fox16_c/FXRbApp.cpp b/ext/fox16_c/FXRbApp.cpp
index 6a61bc4..11d8bb5 100644
--- a/ext/fox16_c/FXRbApp.cpp
+++ b/ext/fox16_c/FXRbApp.cpp
@@ -55,7 +55,7 @@ FXRbApp::FXRbApp(const FXchar* appname,const FXchar* vendor) : FXApp(appname,ven
 // Constructor that also calls FXApp::init()
 FXRbApp* FXRbApp::constructAndInit(const FXchar* appname,const FXchar* vendor){
   int argc=1;
-  static char* argv[]={"",0};
+  static char* argv[]={(char*)"",0};
   FXRbApp* app=new FXRbApp(appname,vendor);
   app->FXApp::init(argc,argv);
   return app;
-- 
GitLab