Changeset 72741f4 in buchla-68k for ram/wdfield.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/wdfield.c

    r7c5def4 r72741f4  
    198198        ip = &vbufs[curvce];                    /* instrument definition */
    199199
    200         ov = curwslt    ? &ip->idhwvbo          /* offsets in definition */
    201                         : &ip->idhwvao;
     200        ov = curwslt    ? ip->idhwvbo           /* offsets in definition */
     201                        : ip->idhwvao;
    202202
    203203        cwnp   = wdcurct[curwdth][0];           /* number of points effected */
     
    271271
    272272        ip   = &vbufs[curvce];
    273         ov   = curwslt ? &ip->idhwvbo : &ip->idhwvao;
     273        ov   = curwslt ? ip->idhwvbo : ip->idhwvao;
    274274
    275275        ov[curwpnt] = curwoff << 5;     /* force current point value */
     
    411411        case 2:         /* harmonic selected */
    412412
    413                 hv = curwslt ? &ip->idhwvbh : &ip->idhwvah;
     413                hv = curwslt ? ip->idhwvbh : ip->idhwvah;
    414414
    415415                curwhrv = abs(hv[curwhrm]) - cyrate;
     
    514514
    515515                        ip = &vbufs[curvce];
    516                         hv = curwslt ? &ip->idhwvbh : &ip->idhwvah;
     516                        hv = curwslt ? ip->idhwvbh : ip->idhwvah;
    517517
    518518                        if (hitbox EQ 0) {      /* waveshape area */
Note: See TracChangeset for help on using the changeset viewer.