mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Fix basic warnings
This commit is contained in:
parent
28f4418132
commit
c1aca51fc3
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ static int lib_setMouseGrab(lua_State *L)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static boolean lib_getCursorPosition(lua_State *L)
|
static int lib_getCursorPosition(lua_State *L)
|
||||||
{
|
{
|
||||||
int x, y;
|
int x, y;
|
||||||
I_GetCursorPosition(&x, &y);
|
I_GetCursorPosition(&x, &y);
|
||||||
|
|
|
@ -407,7 +407,7 @@ void I_UpdateMouseGrab(void)
|
||||||
|
|
||||||
boolean I_GetMouseGrab(void)
|
boolean I_GetMouseGrab(void)
|
||||||
{
|
{
|
||||||
return SDL_GetWindowGrab(window);
|
return (boolean)SDL_GetWindowGrab(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
void I_SetMouseGrab(boolean grab)
|
void I_SetMouseGrab(boolean grab)
|
||||||
|
|
Loading…
Reference in a new issue