Changeset ca867c1 in buchla-68k for ram


Ignore:
Timestamp:
11/12/2017 09:58:59 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
fe7b401
Parents:
83a374d
Message:

Fixed showcfg.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/showcfg.c

    r83a374d rca867c1  
    295295                                if ((xp GE LftEdge) AND
    296296                                    (xp LE RgtEdge) AND
    297                                     (pw & (1 << (15 - pc)))) {
     297                                    (pw & ((uint16_t)1 << (15 - pc)))) {
    298298
    299299                                        vputp(idoct, xp, yp, patc);
     
    385385
    386386                x = LftEdge + (i >> 1);
    387                 y = BotEdge - ((wsp[i] ^ 0x8000) / 676);
     387                y = BotEdge - (int16_t)((wsp[i] ^ 0x8000) / 676);
    388388
    389389                idpoint(x, y, WSBFC);
Note: See TracChangeset for help on using the changeset viewer.