mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Merge pull request #1118 from devnexen/few_more_build_chg
fix few warning builds.
This commit is contained in:
commit
3f6a0a3689
2 changed files with 4 additions and 3 deletions
|
@ -402,7 +402,8 @@ Sys_UnloadGame(void)
|
|||
void *
|
||||
Sys_GetGameAPI(void *parms)
|
||||
{
|
||||
void *(*GetGameAPI)(void *);
|
||||
typedef void *(*fnAPI)(void *);
|
||||
fnAPI GetGameAPI;
|
||||
|
||||
char name[MAX_OSPATH];
|
||||
char *path;
|
||||
|
@ -479,7 +480,7 @@ Sys_GetGameAPI(void *parms)
|
|||
}
|
||||
}
|
||||
|
||||
GetGameAPI = (void *)dlsym(game_library, "GetGameAPI");
|
||||
GetGameAPI = (fnAPI)dlsym(game_library, "GetGameAPI");
|
||||
|
||||
if (!GetGameAPI)
|
||||
{
|
||||
|
|
|
@ -67,7 +67,7 @@ int crosshair_width, crosshair_height;
|
|||
extern cvar_t *cl_showfps;
|
||||
extern cvar_t *crosshair_scale;
|
||||
extern cvar_t *cl_showspeed;
|
||||
extern float GetPlayerSpeed();
|
||||
extern float GetPlayerSpeed(float *, float *);
|
||||
|
||||
void SCR_TimeRefresh_f(void);
|
||||
void SCR_Loading_f(void);
|
||||
|
|
Loading…
Reference in a new issue