Changeset 7258c6a in buchla-68k for ram/etaccn.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/etaccn.c

    r0292fbb r7258c6a  
    1515#include "asgdsp.h"
    1616
    17 extern  char    *numblk(char *buf, short n);
     17extern  int8_t  *numblk(int8_t *buf, int16_t n);
    1818
    19 extern  unsigned        *asgob;
     19extern  uint16_t        *asgob;
    2020
    21 extern  short   stcrow, stccol;
     21extern  int16_t stcrow, stccol;
    2222
    23 extern  short   adbox[][8];
     23extern  int16_t adbox[][8];
    2424
    25 extern  char    dspbuf[];
     25extern  int8_t  dspbuf[];
    2626
    27 extern  short   mctlnum[4];     /* MIDI controller number table (-1, 00..99) */
     27extern  int16_t mctlnum[4];     /* MIDI controller number table (-1, 00..99) */
    2828
    2929/*
     
    3737*/
    3838
    39 short et_accn(short n)
     39int16_t et_accn(int16_t n)
    4040{
    41         register short ctl;
     41        register int16_t ctl;
    4242
    43         char buf[4];
     43        int8_t buf[4];
    4444
    4545        ctl = 0x00FF & (n >> 8);
     
    5757*/
    5858
    59 short ef_accn(short n)
     59int16_t ef_accn(int16_t n)
    6060{
    61         register short tmpval, ctl, i;
     61        register int16_t tmpval, ctl, i;
    6262
    6363        ctl = 0x00FF & (n >> 8);
     
    101101*/
    102102
    103 short rd_accn(short nn)
     103int16_t rd_accn(int16_t nn)
    104104{
    105         register short n, ctl;
    106         char buf[4];
     105        register int16_t n, ctl;
     106        int8_t buf[4];
    107107
    108108        n = 0x00FF & nn;
     
    127127*/
    128128
    129 short nd_accn(short nn, short k)
     129int16_t nd_accn(int16_t nn, int16_t k)
    130130{
    131         register short n;
     131        register int16_t n;
    132132
    133133        n = nn & 0xFF;
Note: See TracChangeset for help on using the changeset viewer.