mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-02-26 18:44:19 +01:00
SDL_waylanddatamanager.c (mime_data_list_add): constify the buffer param
Fixes -Wdiscarded-qualifiers warnings from Wayland_data_source_add_data()
This commit is contained in:
parent
eb1aba6105
commit
93e1449764
0
Xcode/SDL/SDL.xcodeproj/project.pbxproj
Executable file → Normal file
0
Xcode/SDL/SDL.xcodeproj/project.pbxproj
Executable file → Normal file
@ -181,7 +181,7 @@ mime_data_list_find(struct wl_list* list,
|
|||||||
static int
|
static int
|
||||||
mime_data_list_add(struct wl_list* list,
|
mime_data_list_add(struct wl_list* list,
|
||||||
const char* mime_type,
|
const char* mime_type,
|
||||||
void* buffer, size_t length)
|
const void* buffer, size_t length)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
size_t mime_type_length = 0;
|
size_t mime_type_length = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user