From e9d19c237b62edb1c2e7e6da29733df0a279a9b5 Mon Sep 17 00:00:00 2001 From: "Cameron Armstrong (Nightfox)" Date: Mon, 18 Jun 2018 00:49:56 +0800 Subject: [PATCH] Fix compiler error --- libraries/sdl-mini/src/joystick/iOS/iCadeReaderView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/sdl-mini/src/joystick/iOS/iCadeReaderView.mm b/libraries/sdl-mini/src/joystick/iOS/iCadeReaderView.mm index 01fad4f..3b321f2 100644 --- a/libraries/sdl-mini/src/joystick/iOS/iCadeReaderView.mm +++ b/libraries/sdl-mini/src/joystick/iOS/iCadeReaderView.mm @@ -222,7 +222,7 @@ - (void)insertText:(NSString *)text { int tiState = (int) _iCadeState; - char *p = strchr(ON_STATES, ch); + const char *p = strchr(ON_STATES, ch); bool stateChanged = false; if (p) { int index = p-ON_STATES;