• src/sbbs3/str.cpp

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wed May 6 22:36:57 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/fadcfd96c23be40c6487bd48
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    str: explicit truncation cast in spy() char assignment (CID 549016)

    After the 'if (in == NOINP) continue;' check, in is in [0,255], so
    'ch = in' is safe — but Coverity flags it because incom() returns
    int and ch is char. Make the truncation explicit with (char)in to
    silence the analyzer; semantics unchanged.

    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)