Changeset 7258c6a in buchla-68k for ram/ttcpos.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/ttcpos.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   vtcrow;         /* virtual typewriter cursor row */
    26 extern  short   vtccol;         /* virtual typewriter cursor column */
     25extern  int16_t vtcrow;         /* virtual typewriter cursor row */
     26extern  int16_t vtccol;         /* virtual typewriter cursor column */
    2727
    2828/*
     
    3030*/
    3131
    32 static short ttcur[] = {
     32static int16_t ttcur[] = {
    3333
    3434        CW_0, CW_0, CW_0, CW_0, /* 0 */
     
    6060*/
    6161
    62 void ttcini(unsigned color)
     62void ttcini(uint16_t color)
    6363{
    6464        if ((v_regs[5] & 0x0180) NE 0x0100)
     
    7474*/
    7575
    76 void ttcpos(short row, short col)
     76void ttcpos(int16_t row, int16_t col)
    7777{
    78         register short yrow, xcol;
     78        register int16_t yrow, xcol;
    7979        register struct octent *op;
    8080
Note: See TracChangeset for help on using the changeset viewer.