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

    r0292fbb r7258c6a  
    1717extern  void    advwcur(void);
    1818
    19 extern  unsigned        *waveob;
     19extern  uint16_t        *waveob;
    2020
    21 extern  short   stccol, curwave, curvce, curwslt;
     21extern  int16_t stccol, curwave, curvce, curwslt;
    2222
    23 extern  short   wsnmod[12][2];
     23extern  int16_t wsnmod[12][2];
    2424
    25 extern  short   wdbox[][8];
     25extern  int16_t wdbox[][8];
    2626
    27 extern  char    dspbuf[];
     27extern  int8_t  dspbuf[];
    2828
    2929/*
     
    3737*/
    3838
    39 short et_wavs(short n)
     39int16_t et_wavs(int16_t n)
    4040{
    4141        sprintf(ebuf, "%02d", curwave + 1);
     
    5151*/
    5252
    53 short ef_wavs(short n)
     53int16_t ef_wavs(int16_t n)
    5454{
    55         register short i, tmpval;
     55        register int16_t i, tmpval;
    5656
    5757        ebuf[2] = '\0';                 /* terminate the string in ebuf */
     
    8181*/
    8282
    83 short rd_wavs(short nn)
     83int16_t rd_wavs(int16_t nn)
    8484{
    85         register short n;
    86         register unsigned cx;
     85        register int16_t n;
     86        register uint16_t cx;
    8787
    8888        cx = exp_c(wsnmod[curvce][curwslt] ? WS_CHGC : wdbox[n][4]);
     
    104104*/
    105105
    106 short nd_wavs(short nn, short k)
     106int16_t nd_wavs(int16_t nn, int16_t k)
    107107{
    108         register short ec, n;
     108        register int16_t ec, n;
    109109
    110110        n = nn & 0xFF;
Note: See TracChangeset for help on using the changeset viewer.