From fb651c92a657d0b7fddf091661304497e1f5a09b Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Sun, 23 Jan 2022 12:48:04 -0800 Subject: [PATCH] Address GCC warnings: case label value exceeds maximum value for type --- src/sbbs3/putmsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/putmsg.cpp b/src/sbbs3/putmsg.cpp index e24bdc6366..3d6ce98810 100644 --- a/src/sbbs3/putmsg.cpp +++ b/src/sbbs3/putmsg.cpp @@ -476,7 +476,7 @@ char sbbs_t::putmsgfrag(const char* buf, long& mode, long org_cols, JSObject* ob if(mode&P_PETSCII) { if(term&PETSCII) { outcom(str[l]); - switch(str[l]) { + switch((uchar)str[l]) { case '\r': // PETSCII "Return" / new-line column = 0; /* fall-through */ -- GitLab