aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-05-02 12:25:53 +0200
committerDan Gudmundsson <[email protected]>2016-05-02 12:25:53 +0200
commit6e88e68dba5b608c824d592367a2f39af8c082b9 (patch)
treed476f075b4c033f64e5c86795d45e112499021ec /lib/wx
parent2a930976007cae1d29d1ed4e244998ce72fa5d67 (diff)
downloadotp-6e88e68dba5b608c824d592367a2f39af8c082b9.tar.gz
otp-6e88e68dba5b608c824d592367a2f39af8c082b9.tar.bz2
otp-6e88e68dba5b608c824d592367a2f39af8c082b9.zip
Fix argv types
wxEntry is defined to take wxChar** and not char**
Diffstat (limited to 'lib/wx')
-rw-r--r--lib/wx/c_src/wxe_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/c_src/wxe_main.cpp b/lib/wx/c_src/wxe_main.cpp
index b928eb9567..6fcde42eb5 100644
--- a/lib/wx/c_src/wxe_main.cpp
+++ b/lib/wx/c_src/wxe_main.cpp
@@ -125,8 +125,8 @@ void *wxe_main_loop(void *vpdl)
{
int result;
int argc = 1;
- char * temp = (char *) "Erlang";
- char * argv[] = {temp,NULL};
+ const wxChar temp[10] = L"Erlang";
+ wxChar * argv[] = {(wxChar *)temp, NULL};
ErlDrvPDL pdl = (ErlDrvPDL) vpdl;
driver_pdl_inc_refc(pdl);