Changeset 0b23063 in buchla-68k for ram/ldselbx.c


Ignore:
Timestamp:
11/15/2017 08:22:41 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
5399628
Parents:
3c45656
Message:

Fixed char array subscripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/ldselbx.c

    r3c45656 r0b23063  
    133133        }
    134134
    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 */
    136136
    137137                skperr(ns);
     
    150150                /* skip the event's data */
    151151
    152                 if (skp_ec(fp, (int32_t)(scsizes[etype][1] - 1))) {
     152                if (skp_ec(fp, (int32_t)(scsizes[(int16_t)etype][1] - 1))) {
    153153
    154154                        skperr(ns);
Note: See TracChangeset for help on using the changeset viewer.