git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1552
270642c3-0616-0410-b53a-bc976706d245
prefix_ void senf::term::BaseTelnetProtocol::handleCommand(char c)
{
- switch (c) {
+ switch (static_cast<unsigned char>(c)) {
case CMD_SE:
// Ignore spurious SE commands .. they should only occur while in subnegotiation mode
charState_ = NORMAL;
prefix_ void senf::term::BaseTelnetProtocol::handleSBIAC(char c)
{
- switch (c) {
+ switch (static_cast<unsigned char>(c)) {
case CMD_IAC:
data_.push_back(c);
charState_ = SB_DATA;