Changeset 7258c6a in buchla-68k for vlib/lseg.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
  • vlib/lseg.c

    r0292fbb r7258c6a  
    77*/
    88
    9 void    (*point)(short x, short y, short pen);
     9void    (*point)(int16_t x, int16_t y, int16_t pen);
    1010
    1111#define ABS(x)  ((x) < 0 ? (-(x)) : (x))
     
    4141*/
    4242
    43 void lseg(short x1, short y1, short x2, short y2, short t)
     43void lseg(int16_t x1, int16_t y1, int16_t x2, int16_t y2, int16_t t)
    4444{
    45         register short dx, dy, ptx, pty, p;
    46         short i, px, py;
     45        register int16_t dx, dy, ptx, pty, p;
     46        int16_t i, px, py;
    4747
    4848        p = x2 - (ptx = x1);
Note: See TracChangeset for help on using the changeset viewer.