mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 06:58:30 +00:00
SDL_waylandevents.c (keyboard_handle_keymap): silenced -Wwrite-strings .
This commit is contained in:
@@ -749,7 +749,8 @@ keyboard_handle_keymap(void *data, struct wl_keyboard *keyboard,
|
|||||||
uint32_t format, int fd, uint32_t size)
|
uint32_t format, int fd, uint32_t size)
|
||||||
{
|
{
|
||||||
struct SDL_WaylandInput *input = data;
|
struct SDL_WaylandInput *input = data;
|
||||||
char *map_str, *locale;
|
char *map_str;
|
||||||
|
const char *locale;
|
||||||
|
|
||||||
if (!data) {
|
if (!data) {
|
||||||
close(fd);
|
close(fd);
|
||||||
|
Reference in New Issue
Block a user