diff options
Diffstat (limited to 'source/application')
-rw-r--r-- | source/application/StarRenderer_opengl20.cpp | 8 | ||||
-rw-r--r-- | source/application/StarStatisticsService_pc_steam.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/application/StarRenderer_opengl20.cpp b/source/application/StarRenderer_opengl20.cpp index 46c2eba..e80d745 100644 --- a/source/application/StarRenderer_opengl20.cpp +++ b/source/application/StarRenderer_opengl20.cpp @@ -77,10 +77,10 @@ OpenGl20Renderer::OpenGl20Renderer() { throw RendererException("OpenGL 2.0 not available!"); Logger::info("OpenGL version: '%s' vendor: '%s' renderer: '%s' shader: '%s'", - glGetString(GL_VERSION), - glGetString(GL_VENDOR), - glGetString(GL_RENDERER), - glGetString(GL_SHADING_LANGUAGE_VERSION)); + (const char*)glGetString(GL_VERSION), + (const char*)glGetString(GL_VENDOR), + (const char*)glGetString(GL_RENDERER), + (const char*)glGetString(GL_SHADING_LANGUAGE_VERSION)); glClearColor(0.0, 0.0, 0.0, 1.0); glEnable(GL_TEXTURE_2D); diff --git a/source/application/StarStatisticsService_pc_steam.cpp b/source/application/StarStatisticsService_pc_steam.cpp index 00b37ba..89239fd 100644 --- a/source/application/StarStatisticsService_pc_steam.cpp +++ b/source/application/StarStatisticsService_pc_steam.cpp @@ -94,7 +94,7 @@ void SteamStatisticsService::onUserStatsReceived(UserStatsReceived_t* callback) return; if (callback->m_eResult != k_EResultOK) { - m_error = {strf("Steam RequestCurrentStats failed with code %d", callback->m_eResult)}; + m_error = {strf("Steam RequestCurrentStats failed with code %d", (int)callback->m_eResult)}; return; } @@ -117,7 +117,7 @@ void SteamStatisticsService::onUserStatsStored(UserStatsStored_t* callback) { return; } - m_error = {strf("Steam StoreStats failed with code %d", callback->m_eResult)}; + m_error = {strf("Steam StoreStats failed with code %d", (int)callback->m_eResult)}; } void SteamStatisticsService::onAchievementStored(UserAchievementStored_t* callback) { |