Changeset bbf1e66 in buchla-68k
- Timestamp:
- 11/12/2017 09:00:25 PM (7 years ago)
- Branches:
- master
- Children:
- e2707e9
- Parents:
- 81a59aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/etival.c
r81a59aa rbbf1e66 27 27 28 28 sprintf(ebuf, "%02d.%02d", vh, vl); 29 ebuf[5] = '0' + pntptr->ipvsrc;29 ebuf[5] = (int8_t)('0' + pntptr->ipvsrc); 30 30 fr2dec(pntptr->ipvmlt, &ebuf[6]); 31 31 ebuf[10] = '\0'; … … 107 107 } 108 108 109 pntptr->ipvsrc = srctmp; /* set the source */110 objclr(TTCPRI); /* turn off the menu cursor */111 idvlblc(); /* blank the menu area */112 dswin(22); /* refresh the screen */109 pntptr->ipvsrc = (int8_t)srctmp; /* set the source */ 110 objclr(TTCPRI); /* turn off the menu cursor */ 111 idvlblc(); /* blank the menu area */ 112 dswin(22); /* refresh the screen */ 113 113 modinst(); 114 114 … … 224 224 if (stccol LT 32) { /* value */ 225 225 226 ebuf[stccol - 27] = k + '0';227 dspbuf[0] = k + '0';226 ebuf[stccol - 27] = (int8_t)(k + '0'); 227 dspbuf[0] = (int8_t)(k + '0'); 228 228 229 229 } else if (stccol EQ 41) { /* mutiplier sign */ … … 259 259 } else { /* 2nd or 3rd digit */ 260 260 261 ebuf[stccol - 36] = k + '0';262 dspbuf[0] = k + '0';261 ebuf[stccol - 36] = (int8_t)(k + '0'); 262 dspbuf[0] = (int8_t)(k + '0'); 263 263 } 264 264
Note:
See TracChangeset
for help on using the changeset viewer.