commit | 718ab3fc920e232f5413dbf7945e9d1fe43d6a00 | [log] [tgz] |
---|---|---|
author | Ozkan Sezer <sezeroz@gmail.com> | Wed Oct 14 15:50:04 2020 +0300 |
committer | Ozkan Sezer <sezeroz@gmail.com> | Wed Oct 14 15:50:04 2020 +0300 |
tree | eb0eb1d77ab25ee89d9b55c3577849d38cfeabe9 | |
parent | 457b42a2b3723b9bcd75909bda61eabb0d92bf5f [diff] |
SDL_waylanddatamanager.c (mime_data_list_add): constify the buffer param Fixes -Wdiscarded-qualifiers warnings from Wayland_data_source_add_data()
diff --git a/Xcode/SDL/SDL.xcodeproj/project.pbxproj b/Xcode/SDL/SDL.xcodeproj/project.pbxproj old mode 100755 new mode 100644
diff --git a/src/video/wayland/SDL_waylanddatamanager.c b/src/video/wayland/SDL_waylanddatamanager.c index 2a4c9c5..c72c19a 100644 --- a/src/video/wayland/SDL_waylanddatamanager.c +++ b/src/video/wayland/SDL_waylanddatamanager.c
@@ -181,7 +181,7 @@ static int mime_data_list_add(struct wl_list* list, const char* mime_type, - void* buffer, size_t length) + const void* buffer, size_t length) { int status = 0; size_t mime_type_length = 0;