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

    r3c45656 r0b23063  
    6464        register uint16_t tacc;
    6565
    66         pp = &vbufs[curvce].idhpnt[vbufs[curvce].idhfnc[curfunc].idfpt1];
     66        pp = &vbufs[curvce].idhpnt[(int16_t)vbufs[curvce].idhfnc[curfunc].idfpt1];
    6767        tacc = 0;
    6868
     
    8787        register struct instpnt *pp;
    8888
    89         pp = &vbufs[curvce].idhpnt[vbufs[curvce].idhfnc[curfunc].idfpt1];
     89        pp = &vbufs[curvce].idhpnt[(int16_t)vbufs[curvce].idhfnc[curfunc].idfpt1];
    9090        tacc = 0;
    9191
Note: See TracChangeset for help on using the changeset viewer.