From bd520a8e67d7e021da38d124d013b8572024d30b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 4 Sep 2013 11:47:54 +0200 Subject: [PATCH] CMenuOptionLanguageChooser:prevent alter of value conversion compiler warning: wconversion Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/4ddf59b17591b246cd0a0ead1fb42bcfafb3aa50 Author: Thilo Graf Date: 2013-09-04 (Wed, 04 Sep 2013) ------------------ This commit was generated by Migit --- src/gui/widget/menue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 9d3cc6aad..41861f370 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1664,7 +1664,7 @@ int CMenuOptionLanguageChooser::paint( bool selected ) //convert first letter to large std::string s_optionValue = optionValue; if(!s_optionValue.empty()) - s_optionValue[0] = toupper(s_optionValue[0]); + s_optionValue[0] = (char)toupper(s_optionValue[0]); //paint text paintItemCaption(selected, height , s_optionValue.c_str());