Skip to content
Snippets Groups Projects
Commit 731567b4 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix warnings.

parent ba2e6c5a
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4393 passed
......@@ -258,8 +258,8 @@ static int sdl_user_func_ret(int func, ...)
while(1) {
switch(func) {
case SDL_USEREVENT_SETVIDMODE:
ev.user.data1 = (void *)va_arg(argptr, int);
ev.user.data2 = (void *)va_arg(argptr, int);
ev.user.data1 = (void *)(intptr_t)va_arg(argptr, int);
ev.user.data2 = (void *)(intptr_t)va_arg(argptr, int);
while(sdl.PeepEvents(&ev, 1, SDL_ADDEVENT, SDL_FIRSTEVENT, SDL_LASTEVENT)!=1)
YIELD();
break;
......
......@@ -581,8 +581,8 @@ static int init_window()
classhints=x11.XAllocClassHint();
if (classhints) {
classhints->res_name = ciolib_initial_program_name;
classhints->res_class = ciolib_initial_program_class;
classhints->res_name = (char *)ciolib_initial_program_name;
classhints->res_class = (char *)ciolib_initial_program_class;
}
wmhints=x11.XAllocWMHints();
wmhints->flags = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment