Changeset 2370d81 in buchla-68k


Ignore:
Timestamp:
11/12/2017 09:27:17 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
96496d0
Parents:
9738a78
Message:

Fixed etains.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/etains.c

    r9738a78 r2370d81  
    6262                return(FAILURE);
    6363
    64         ins2grp[grp] = tmpval | (ins2grp[grp] & 0xFF00);
     64        ins2grp[grp] = tmpval | (ins2grp[grp] & (int16_t)0xFF00);
    6565        modasg();
    6666        setv2gi(grp);
     
    102102
    103103        n = nn & 0xFF;
    104         ebuf[stccol - cfetp->flcol] = k + '0';
     104        ebuf[stccol - cfetp->flcol] = (int8_t)(k + '0');
    105105        ebuf[2] = '\0';
    106106
    107         dspbuf[0] = k + '0';
     107        dspbuf[0] = (int8_t)(k + '0');
    108108        dspbuf[1] = '\0';
    109109
Note: See TracChangeset for help on using the changeset viewer.