mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Make some string literals "const char *", not "char *" (thanks, Martin!).
Fixes Bugzilla #3007.
This commit is contained in:
parent
f29de0d324
commit
714687427a
@ -341,7 +341,7 @@ static Uint8 EVDEV_MouseButtons[] = {
|
|||||||
SDL_BUTTON_X2 + 3 /* BTN_TASK 0x117 */
|
SDL_BUTTON_X2 + 3 /* BTN_TASK 0x117 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static char* EVDEV_consoles[] = {
|
static const char* EVDEV_consoles[] = {
|
||||||
"/proc/self/fd/0",
|
"/proc/self/fd/0",
|
||||||
"/dev/tty",
|
"/dev/tty",
|
||||||
"/dev/tty0",
|
"/dev/tty0",
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
|
|
||||||
static char* SDL_UDEV_LIBS[] = { "libudev.so.1", "libudev.so.0" };
|
static const char* SDL_UDEV_LIBS[] = { "libudev.so.1", "libudev.so.0" };
|
||||||
|
|
||||||
#define _THIS SDL_UDEV_PrivateData *_this
|
#define _THIS SDL_UDEV_PrivateData *_this
|
||||||
static _THIS = NULL;
|
static _THIS = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user