• src/conio/scale.c xbr.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Mon Nov 4 21:21:24 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/58f9d4750803538cc29a9af1
    Modified Files:
    src/conio/scale.c xbr.c
    Log Message:
    More scaling cleanup... no undefined behaviour

    Remove undefined behaviour (right-shifting a negative integer) from
    the scaler... replace with divide-by-2. Any modern compiler should
    be able to optimize that.

    On the enabling the compiler front, const-ify more variables and
    use types that allow removing some casts.

    I have a bit more hope this will fix the macOS issue than the previous
    efforts.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net