Changeset 8438fb1 in buchla-68k for ram/etimlt.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/etimlt.c

    r4b0e2ef r8438fb1  
    6060        fp = &ip->idhfnc[curfunc];
    6161
    62         ebuf[0] = '0' + fp->idfsrc;
     62        ebuf[0] = (int8_t)('0' + fp->idfsrc);
    6363        fr2dec(fp->idfmlt, &ebuf[1]);
    6464        ebuf[5] = '\0';
     
    145145                }
    146146
    147                 fp->idfsrc = srctmp;    /* set the source */
    148                 objclr(TTCPRI);         /* turn off the menu cursor */
    149                 idvlblc();              /* blank the menu area */
     147                fp->idfsrc = (int8_t)srctmp;    /* set the source */
     148                objclr(TTCPRI);                 /* turn off the menu cursor */
     149                idvlblc();                      /* blank the menu area */
    150150                modinst();
    151                 dswin(22);              /* refresh the screen */
     151                dswin(22);                      /* refresh the screen */
    152152
    153153        } else if (stccol LT 8) {       /* selecting the source */
     
    261261        case 3:         /* 3rd digit position */
    262262
    263                 ebuf[ec] = k + '0';
    264                 dspbuf[0] = k + '0';            /* setup display buffer */
     263                ebuf[ec] = (int8_t)(k + '0');
     264                dspbuf[0] = (int8_t)(k + '0');          /* setup display buffer */
    265265                break;
    266266
Note: See TracChangeset for help on using the changeset viewer.