[yast-commit] r55582 - /trunk/libyui/src/YShortcut.cc
Author: coolo Date: Wed Feb 18 14:17:30 2009 New Revision: 55582 URL: http://svn.opensuse.org/viewcvs/yast?rev=55582&view=rev Log: tolower returns int Modified: trunk/libyui/src/YShortcut.cc Modified: trunk/libyui/src/YShortcut.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/libyui/src/YShortcut.cc?rev=55582&r1=55581&r2=55582&view=diff ============================================================================== --- trunk/libyui/src/YShortcut.cc (original) +++ trunk/libyui/src/YShortcut.cc Wed Feb 18 14:17:30 2009 @@ -138,7 +138,7 @@ if ( newShortcut != YShortcut::None ) { - char findme[] = { tolower( newShortcut ), toupper( newShortcut ), 0 }; + char findme[] = { (char)tolower( newShortcut ), (char)toupper( newShortcut ), 0 }; string::size_type pos = str.find_first_of( findme ); if ( pos == string::npos ) @@ -317,7 +317,7 @@ if ( newShortcut != YShortcut::None ) { - char findme[] = { tolower( newShortcut ), toupper( newShortcut ), 0 }; + char findme[] = { (char)tolower( newShortcut ), (char)toupper( newShortcut ), 0 }; string::size_type pos = str.find_first_of( findme ); if ( pos == string::npos ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
coolo@svn.opensuse.org