mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 07:01:08 +00:00
Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://bugs.gentoo.org/739286 Closes: https://github.com/gentoo/gentoo/pull/22334 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
14 lines
628 B
Diff
14 lines
628 B
Diff
Fixes building with clang:
|
|
Gentoo-Bug: https://bugs.gentoo.org/739286
|
|
|
|
--- a/src/NewHighScoreState.cxx
|
|
+++ b/src/NewHighScoreState.cxx
|
|
@@ -396,7 +396,7 @@ NewHighScoreState::unicodeCharacterPress
|
|
// FIXME: We are only interessted with ASCII values.
|
|
if ( 0 == (code & 0xff80) )
|
|
{
|
|
- char character[2] = {toupper (static_cast<char>(code & 0x7f)), '\0'};
|
|
+ char character[2] = {static_cast<char>(toupper (static_cast<char>(code & 0x7f)), '\0')};
|
|
std::string::size_type characterPos =
|
|
m_CursorValues.find (std::string (character));
|
|
if ( std::string::npos != characterPos )
|