Changeset 28c0933 in buchla-68k


Ignore:
Timestamp:
11/12/2017 08:56:55 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
81a59aa
Parents:
a250437
Message:

Fixed scselbx.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/scselbx.c

    ra250437 r28c0933  
    199199void dsects(void)
    200200{
    201         register int16_t atr, row, col, i, j;
     201        uint16_t atr;
     202        int16_t row, col, i, j;
    202203        int8_t buf[8];
    203204        int8_t cl, cr, csl, csr;
     
    275276{
    276277        int8_t buf[4];
    277         int16_t atr, col;
     278        uint16_t atr;
     279        int16_t col;
    278280
    279281        sprintf(buf, "%02d", n + 1);
     
    834836                        ep->e_time  = t_cur;
    835837                        ep->e_type  = EV_SBGN;
    836                         ep->e_data1 = sect;
     838                        ep->e_data1 = (int8_t)sect;
    837839                        p_cur = e_ins(ep, ep_adj(p_cur, 1, t_cur)->e_bak)->e_fwd;
    838840                        eh_ins(ep, EH_SBGN);
     
    865867                        ep->e_time  = t_cur;
    866868                        ep->e_type  = EV_SEND;
    867                         ep->e_data1 = sect;
     869                        ep->e_data1 = (int8_t)sect;
    868870                        p_cur = e_ins(ep, ep_adj(p_cur, 0, t_cur))->e_fwd;
    869871                        eh_ins(ep, EH_SEND);
     
    10341036        register int16_t        row, col, i;
    10351037        register struct s_entry *ep;
    1036         int16_t atr, modewas;
     1038        uint16_t atr;
     1039        int16_t modewas;
    10371040
    10381041        (void)n;
Note: See TracChangeset for help on using the changeset viewer.