Changeset 0b23063 in buchla-68k
- Timestamp:
- 11/15/2017 08:22:41 PM (7 years ago)
- Branches:
- master
- Children:
- 5399628
- Parents:
- 3c45656
- Location:
- ram
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/delpnts.c
r3c45656 r0b23063 133 133 /* reset first point in function */ 134 134 135 pp = &vp->idhpnt[ fp->idfpt1];135 pp = &vp->idhpnt[(int16_t)fp->idfpt1]; 136 136 137 137 pp->iptim = FPU_MINT; -
ram/etagpt.c
r3c45656 r0b23063 102 102 } 103 103 104 dspbuf[0] = *gprep[ ebuf[0]];104 dspbuf[0] = *gprep[(int16_t)ebuf[0]]; 105 105 dspbuf[1] = '\0'; 106 106 -
ram/etiosc.c
r3c45656 r0b23063 113 113 } 114 114 115 cents = (ebuf[0] * 1200) + pitches[ ebuf[1]] + shrpflt[ebuf[2] - 7]116 + (ebuf[3] * 10) + ebuf[4] + 160;115 cents = (ebuf[0] * 1200) + pitches[(int16_t)ebuf[1]] 116 + shrpflt[ebuf[2] - 7] + (ebuf[3] * 10) + ebuf[4] + 160; 117 117 118 118 return(SUCCESS); -
ram/initi.c
r3c45656 r0b23063 64 64 register uint16_t tacc; 65 65 66 pp = &vbufs[curvce].idhpnt[ vbufs[curvce].idhfnc[curfunc].idfpt1];66 pp = &vbufs[curvce].idhpnt[(int16_t)vbufs[curvce].idhfnc[curfunc].idfpt1]; 67 67 tacc = 0; 68 68 … … 87 87 register struct instpnt *pp; 88 88 89 pp = &vbufs[curvce].idhpnt[ vbufs[curvce].idhfnc[curfunc].idfpt1];89 pp = &vbufs[curvce].idhpnt[(int16_t)vbufs[curvce].idhfnc[curfunc].idfpt1]; 90 90 tacc = 0; 91 91 -
ram/instdsp.c
r3c45656 r0b23063 198 198 npt2 = 1; /* right endpoint of line */ 199 199 200 pt1 = &ip->idhpnt[ fp->idfpt1];/* left endpoint of line */200 pt1 = &ip->idhpnt[(int16_t)fp->idfpt1]; /* left endpoint of line */ 201 201 pt2 = pt1 + 1; /* right endpoint of line */ 202 202 … … 412 412 idbuf[0] = (int8_t)(idbuf[0] + '0'); 413 413 idbuf[1] = (int8_t)(idbuf[1] + 'A'); 414 idbuf[2] = sfdsp[ idbuf[2]];414 idbuf[2] = sfdsp[(int16_t)idbuf[2]]; 415 415 idbuf[3] = (int8_t)(idbuf[3] + '0'); 416 416 idbuf[4] = (int8_t)(idbuf[4] + '0'); -
ram/ldselbx.c
r3c45656 r0b23063 133 133 } 134 134 135 if (skp_ec(fp, (int32_t)(scsizes[ etype][1] - 1))) { /* skip data */135 if (skp_ec(fp, (int32_t)(scsizes[(int16_t)etype][1] - 1))) { /* skip data */ 136 136 137 137 skperr(ns); … … 150 150 /* skip the event's data */ 151 151 152 if (skp_ec(fp, (int32_t)(scsizes[ etype][1] - 1))) {152 if (skp_ec(fp, (int32_t)(scsizes[(int16_t)etype][1] - 1))) { 153 153 154 154 skperr(ns); -
ram/scread.c
r3c45656 r0b23063 251 251 252 252 if (etype EQ EV_SBGN) 253 seclist[sn][ ep->e_data1] = ep;253 seclist[sn][(int16_t)ep->e_data1] = ep; 254 254 255 255 break; -
ram/scwrite.c
r3c45656 r0b23063 76 76 ep->e_type &= 0x7F; /* clear new-data flag */ 77 77 78 nl += scsizes[ ep->e_type][0];79 nb += scsizes[ ep->e_type][1];78 nl += scsizes[(int16_t)ep->e_type][0]; 79 nb += scsizes[(int16_t)ep->e_type][1]; 80 80 81 81 switch (ep->e_type) { -
ram/sedump.c
r3c45656 r0b23063 77 77 x_unrec = FALSE; 78 78 79 return(evkinds[ sep->e_type]);79 return(evkinds[(int16_t)sep->e_type]); 80 80 } 81 81
Note:
See TracChangeset
for help on using the changeset viewer.