vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Mar 19 22:45:44 2012 +0200| [f4cb0e4c64540ca67a02f02c5cce0249d78491c0] | committer: Rémi Denis-Courmont
skins: missing const > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f4cb0e4c64540ca67a02f02c5cce0249d78491c0 --- modules/gui/skins2/src/skin_common.hpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/skins2/src/skin_common.hpp b/modules/gui/skins2/src/skin_common.hpp index b7addbe..30208fd 100644 --- a/modules/gui/skins2/src/skin_common.hpp +++ b/modules/gui/skins2/src/skin_common.hpp @@ -70,7 +70,7 @@ typedef void* vlc_wnd_type; /// Wrapper around FromLocale, to avoid the need to call LocaleFree() static inline string sFromLocale( const string &rLocale ) { - char *s = FromLocale( rLocale.c_str() ); + const char *s = FromLocale( rLocale.c_str() ); string res = s; LocaleFree( s ); return res; @@ -90,7 +90,7 @@ static inline string sFromWide( const wstring &rWide ) /// Wrapper around ToLocale, to avoid the need to call LocaleFree() static inline string sToLocale( const string &rUTF8 ) { - char *s = ToLocale( rUTF8.c_str() ); + const char *s = ToLocale( rUTF8.c_str() ); string res = s; LocaleFree( s ); return res; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
