Changeset 72741f4 in buchla-68k for ram/im700.c


Ignore:
Timestamp:
11/15/2017 07:28:55 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
00c31a2
Parents:
7c5def4
Message:

Fixed incompatible pointers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/im700.c

    r7c5def4 r72741f4  
    527527        for (i = 0; i < NGPSRS; i++) {
    528528
    529                 valents[i].nxt = &valents[i];
    530                 valents[i].prv = &valents[i];
     529                valents[i].nxt = (struct sment *)&valents[i];
     530                valents[i].prv = (struct sment *)&valents[i];
    531531                valents[i].val = valof(i & 0x000F);
    532532        }
     
    642642                        k = (i << 4) + fnoff[j];
    643643
    644                         funcndx[k][0] = &ip->idhfnc[j];
    645                         funcndx[k][1] = ip->idhpnt;
     644                        funcndx[k][0] = (int8_t *)&ip->idhfnc[j];
     645                        funcndx[k][1] = (int8_t *)ip->idhpnt;
    646646                }
    647647        }
     
    736736        e_key = nokey;
    737737        m_key = stdmkey;
    738         d_key = nokey;
     738        d_key = nodkey;
    739739
    740740        not_fld = nonf;
Note: See TracChangeset for help on using the changeset viewer.