Changeset 0b23063 in buchla-68k for ram/scwrite.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/scwrite.c

    r3c45656 r0b23063  
    7676                ep->e_type &= 0x7F;             /* clear new-data flag */
    7777
    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];
    8080
    8181                switch (ep->e_type) {
Note: See TracChangeset for help on using the changeset viewer.