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

    r0292fbb r7258c6a  
    2121#define CW_F    0xFFFF
    2222
    23 extern  unsigned        exp_c(unsigned c);
     23extern  uint16_t        exp_c(uint16_t c);
    2424
    25 extern  short   stcrow, stccol;         /* text cursor row,col */
     25extern  int16_t stcrow, stccol;         /* text cursor row,col */
    2626
    27 extern  unsigned        *obj0;          /* cursor object pointer */
     27extern  uint16_t        *obj0;          /* cursor object pointer */
    2828
    2929/*
     
    3131*/
    3232
    33 static short itcur[] = {
     33static int16_t itcur[] = {
    3434
    3535        CW_0, CW_0, CW_0, CW_0, /* 0 */
     
    6161*/
    6262
    63 void itcini(unsigned color)
     63void itcini(uint16_t color)
    6464{
    6565        if ((v_regs[5] & 0x0180) NE 0x0100)
     
    7979*/
    8080
    81 void itcpos(short row, short col)
     81void itcpos(int16_t row, int16_t col)
    8282{
    83         register short yrow, xcol;
     83        register int16_t yrow, xcol;
    8484        register struct octent *op;
    8585
     
    118118void advicur(void)
    119119{
    120         register short newcol;
     120        register int16_t newcol;
    121121
    122122        if (infield(stcrow, stccol, curfet))
     
    139139void bspicur(void)
    140140{
    141         register short newcol;
     141        register int16_t newcol;
    142142
    143143        if (infield(stcrow, stccol, curfet))
Note: See TracChangeset for help on using the changeset viewer.