fix warning

This commit is contained in:
Reonu 2024-04-23 01:17:12 +01:00
parent bbf49f1e80
commit 2b8f93b631

View file

@ -59,7 +59,7 @@ ultramodern::gfx_callbacks_t::gfx_data_t create_gfx() {
}
#if defined(__linux__)
bool SetImageAsIcon(char* filename, SDL_Window* window)
bool SetImageAsIcon(const char* filename, SDL_Window* window)
{
// Read data
int width, height, bytesPerPixel;