Changeset 57425b6 in buchla-68k for ram/uslice.c
- Timestamp:
- 11/12/2017 09:16:54 PM (6 years ago)
- Branches:
- master
- Children:
- 522c363
- Parents:
- e2707e9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/uslice.c
re2707e9 r57425b6 135 135 struct gdsel *gdsep; 136 136 uint16_t i, ncolor, w; 137 uint16_t *ncptr, *nctabp; 137 uint16_t *ncptr; 138 int16_t *nctabp; 138 139 struct gdsel **gdstp, *gdprv, *gdnxt; 139 140 int16_t wrote; … … 225 226 /* get event color */ 226 227 227 ncolor = mask1 & gdsep->note;228 ncolor = mask1 & (uint16_t)gdsep->note; 228 229 229 230 /* update the slice */ … … 313 314 void rslice(struct gdsel *gdstb[]) 314 315 { 315 registerstruct gdsel *gdsep;316 registerstruct gdsel **gdstp;317 register uint16_t *nctabp;318 register uint16_t i, nc;316 struct gdsel *gdsep; 317 struct gdsel **gdstp; 318 int16_t *nctabp; 319 uint16_t i; 319 320 struct gdsel *gdprv, *gdnxt; 320 321 … … 347 348 /* update and check update note status code */ 348 349 349 if (0 EQ (gdsep->code = nctabp[ nc =gdsep->code])) {350 if (0 EQ (gdsep->code = nctabp[gdsep->code])) { 350 351 351 352 #if DEBUGIT … … 509 510 pxptr = &epxtbl[gdsep->code][0]; 510 511 511 ncolor = gdsep->note; /* get event color */512 ncolor = (uint16_t)gdsep->note; /* get event color */ 512 513 513 514 /* update the slice */
Note:
See TracChangeset
for help on using the changeset viewer.