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

    r0292fbb r7258c6a  
    6565#endif
    6666
    67 extern  short   insmode;
     67extern  int16_t insmode;
    6868
    6969/*
     
    7878*/
    7979
    80 struct s_entry *ep_adj(struct s_entry *sep, int sdir, long tval)
     80struct s_entry *ep_adj(struct s_entry *sep, int16_t sdir, int32_t tval)
    8181{
    8282        register struct s_entry *tep;
     
    225225*/
    226226
    227 struct s_entry *frfind(long tval, int sdir)
     227struct s_entry *frfind(int32_t tval, int16_t sdir)
    228228{
    229         register int    i;
    230         register long   t_min, dt;
     229        register int16_t        i;
     230        register int32_t        t_min, dt;
    231231        register struct s_entry *ep, *sep;
    232232
     
    373373*/
    374374
    375 struct s_entry *findev(struct s_entry *ep, long te, short et, short d1, short d2)
     375struct s_entry *findev(struct s_entry *ep, int32_t te, int16_t et, int16_t d1, int16_t d2)
    376376{
    377377        register struct s_entry *tp;
     
    413413*/
    414414
    415 struct s_entry *ehfind(short eh, long te, short d1, short d2)
     415struct s_entry *ehfind(int16_t eh, int32_t te, int16_t d1, int16_t d2)
    416416{
    417417        register struct s_entry *tp;
Note: See TracChangeset for help on using the changeset viewer.