Changeset 3c45656 in buchla-68k for ram/ettrns.c


Ignore:
Timestamp:
11/15/2017 08:17:05 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
0b23063
Parents:
8d0af8a
Message:

Fixed constant overflow warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/ettrns.c

    r8d0af8a r3c45656  
    136136
    137137                if (dspbuf[0] EQ '1')
    138                         dspbuf[0] = SP_M1;      /* -1 */
     138                        dspbuf[0] = (int8_t)SP_M1;      /* -1 */
    139139                else
    140140                        dspbuf[0] = '-';
     
    143143
    144144                if (dspbuf[0] EQ '1')
    145                         dspbuf[0] = SP_P1;      /* +1 */
     145                        dspbuf[0] = (int8_t)SP_P1;      /* +1 */
    146146                else
    147147                        dspbuf[0] = '+';
Note: See TracChangeset for help on using the changeset viewer.