Projects
Multimedia
kodi
fix-formattable-string.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-formattable-string.patch of Package kodi (Revision 89)
Currently displaying revision
89
,
Show latest
diff -up ./xbmc/utils/GLUtils.cpp.orig ./xbmc/utils/GLUtils.cpp --- ./xbmc/utils/GLUtils.cpp.orig 2022-03-02 19:38:51.000000000 +0100 +++ ./xbmc/utils/GLUtils.cpp 2022-10-16 11:17:54.313107565 +0200 @@ -148,27 +148,27 @@ void _VerifyGLState(const char* szfile, void LogGraphicsInfo() { #if defined(HAS_GL) || defined(HAS_GLES) - const GLubyte *s; + const char *s; - s = glGetString(GL_VENDOR); + s = reinterpret_cast<const char*>(glGetString(GL_VENDOR)); if (s) CLog::Log(LOGINFO, "GL_VENDOR = %s", s); else CLog::Log(LOGINFO, "GL_VENDOR = NULL"); - s = glGetString(GL_RENDERER); + s = reinterpret_cast<const char*>(glGetString(GL_RENDERER)); if (s) CLog::Log(LOGINFO, "GL_RENDERER = %s", s); else CLog::Log(LOGINFO, "GL_RENDERER = NULL"); - s = glGetString(GL_VERSION); + s = reinterpret_cast<const char*>(glGetString(GL_VERSION)); if (s) CLog::Log(LOGINFO, "GL_VERSION = %s", s); else CLog::Log(LOGINFO, "GL_VERSION = NULL"); - s = glGetString(GL_SHADING_LANGUAGE_VERSION); + s = reinterpret_cast<const char*>(glGetString(GL_SHADING_LANGUAGE_VERSION)); if (s) CLog::Log(LOGINFO, "GL_SHADING_LANGUAGE_VERSION = %s", s); else diff -up ./xbmc/windowing/X11/WinSystemX11.cpp.orig ./xbmc/windowing/X11/WinSystemX11.cpp --- ./xbmc/windowing/X11/WinSystemX11.cpp.orig 2022-03-02 19:38:51.000000000 +0100 +++ ./xbmc/windowing/X11/WinSystemX11.cpp 2022-10-16 10:48:41.725732897 +0200 --- ./xbmc/windowing/X11/WinSystemX11.cpp.orig 2022-10-16 11:49:10.137083194 +0200 +++ ./xbmc/windowing/X11/WinSystemX11.cpp 2022-10-16 11:50:09.065073269 +0200 @@ -1038,7 +1038,10 @@ bool CWinSystemX11::HasWindowManager() if(status == Success && items_read) { - CLog::Log(LOGDEBUG,"Window Manager Name: %s", data); + const char *s; + + s = reinterpret_cast<const char*>(data); + CLog::Log(LOGDEBUG,"Window Manager Name: %s", s); } else CLog::Log(LOGDEBUG,"Window Manager Name: ");
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.