Changeset 8438fb1 in buchla-68k for ram/etires.c


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

Fixed etires.c, fixed etimlt.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/etires.c

    r4b0e2ef r8438fb1  
    3737                return(FAILURE);
    3838
    39         ebuf[0] = '0' + vbufs[curvce].idhfnc[4].idfprm;
     39        ebuf[0] = (int8_t)('0' + vbufs[curvce].idhfnc[4].idfprm);
    4040        ebuf[1] = '\0';
    4141        ebflag = TRUE;
     
    6161        ebflag = FALSE;
    6262        tmpval = ebuf[0] - '0';
    63         vbufs[curvce].idhfnc[4].idfprm = tmpval;
     63        vbufs[curvce].idhfnc[4].idfprm = (int8_t)tmpval;
    6464        sendval(curvce, 6, rsntab[tmpval]);
    6565        modinst();
     
    8282                return(FAILURE);
    8383
    84         dspbuf[0] = '0' + fp->idfprm;
     84        dspbuf[0] = (int8_t)('0' + fp->idfprm);
    8585        dspbuf[1] = '\0';
    8686
     
    105105                return(FAILURE);
    106106
    107         dspbuf[0] = ebuf[0] = k + '0';
     107        dspbuf[0] = ebuf[0] = (int8_t)(k + '0');
    108108        dspbuf[1] = ebuf[1] = '\0';
    109109
Note: See TracChangeset for help on using the changeset viewer.