Fixes some compiler warnings

This commit is contained in:
Linus Probert 2018-09-03 17:21:33 +02:00
parent 07d7d6e58b
commit cb60a035dd
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ c_SteamUserStats_FindLeaderboard(const char * name)
m_CallbackHandler->m_FindLeaderboardCallResult.Set(hSteamAPICall, m_CallbackHandler, &CallbackHandler::OnFindLeaderboard);
}
extern "C" void c_SteamUserStats_UploadLeaderboardScore(int64_t hLeaderboard, int32_t nScore, int32_t *details, int32_t nDetails)
extern "C" void c_SteamUserStats_UploadLeaderboardScore(int64_t hLeaderboard, int32_t nScore, const int32_t *details, int32_t nDetails)
{
if (!hLeaderboard || !m_Initiated)
return;

View File

@ -30,7 +30,7 @@ void
c_SteamUserStats_FindLeaderboard(const char *name);
void
c_SteamUserStats_UploadLeaderboardScore(int64_t hLeaderboard, int32_t nScore, int32_t *details, int32_t nDetails);
c_SteamUserStats_UploadLeaderboardScore(int64_t hLeaderboard, int32_t nScore, const int32_t *details, int32_t nDetails);
void
c_SteamAPI_Shutdown(void);