Changeset 7258c6a in buchla-68k for ram/delpnts.c


Ignore:
Timestamp:
07/09/2017 04:45:34 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
8618599
Parents:
0292fbb
Message:

Use standard integer types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/delpnts.c

    r0292fbb r7258c6a  
    2828#endif
    2929
    30 extern  short   curfunc;
    31 extern  short   curvce;
    32 extern  short   pntsv;
    33 extern  short   subj;
    34 
    35 extern  short   finival[];
    36 extern  short   fnoff[];
     30extern  int16_t curfunc;
     31extern  int16_t curvce;
     32extern  int16_t pntsv;
     33extern  int16_t subj;
     34
     35extern  int16_t finival[];
     36extern  int16_t fnoff[];
    3737
    3838extern  struct  instdef vbufs[];
     
    4949*/
    5050
    51 short delpnts(void)
     51int16_t delpnts(void)
    5252{
    5353        register struct instpnt *pp;
    54         register char *pp1, *pp2;
    55         register short np, pt1, i, pif, cf;
     54        register int8_t *pp1, *pp2;
     55        register int16_t np, pt1, i, pif, cf;
    5656        struct idfnhdr *fp;
    5757        struct instdef *vp;
    58         unsigned *fpu;
    59         short pt2, nmv, oldi;
     58        uint16_t *fpu;
     59        int16_t pt2, nmv, oldi;
    6060
    6161        vp  = &vbufs[curvce];                   /* voice buffer pointer */
     
    243243*/
    244244
    245 short inspnt(struct instdef *ip, short fn, short inpnt)
     245int16_t inspnt(struct instdef *ip, int16_t fn, int16_t inpnt)
    246246{
    247         register char *fp1, *fp2;
    248         register short i, j, k, l, npts;
    249         short topnt, frompt, oldi;
     247        register int8_t *fp1, *fp2;
     248        register int16_t i, j, k, l, npts;
     249        int16_t topnt, frompt, oldi;
    250250
    251251        if (ip->idhplft EQ 0)           /* see if instrument has points left */
Note: See TracChangeset for help on using the changeset viewer.