From 4a7a9bc4a32a791ceafef5286a0a92333212d10b Mon Sep 17 00:00:00 2001 From: Attila Kocsis Date: Wed, 10 Dec 2014 22:38:50 +0100 Subject: [PATCH] fixed crash on iOS --- examples/common/entry/entry_ios.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common/entry/entry_ios.mm b/examples/common/entry/entry_ios.mm index 69fc520f3..717762f99 100644 --- a/examples/common/entry/entry_ios.mm +++ b/examples/common/entry/entry_ios.mm @@ -32,7 +32,7 @@ namespace entry { Context(uint32_t _width, uint32_t _height) { - const char* argv[1] = { "ios" }; + static const char* argv[1] = { "ios" }; m_mte.m_argc = 1; m_mte.m_argv = const_cast(argv);