Changeset 432327d in buchla-68k for ram/etaccn.c


Ignore:
Timestamp:
09/17/2017 09:27:29 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
6099cac
Parents:
8c8b4e5
Message:

Fix conversion warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/etaccn.c

    r8c8b4e5 r432327d  
    6060                mctlnum[ctl] = tmpval;
    6161        else
    62                 mctlnum[ctl] = (mctlnum[ctl] & 0xFF00) | tmpval;
     62                mctlnum[ctl] = (mctlnum[ctl] & (int16_t)0xFF00) | tmpval;
    6363
    6464        modasg();
     
    9999
    100100        n = nn & 0xFF;
    101         ebuf[stccol - cfetp->flcol] = k + '0';
     101        ebuf[stccol - cfetp->flcol] = (int8_t)(k + '0');
    102102        ebuf[2] = '\0';
    103103
    104         dspbuf[0] = k + '0';
     104        dspbuf[0] = (int8_t)(k + '0');
    105105        dspbuf[1] = '\0';
    106106
Note: See TracChangeset for help on using the changeset viewer.