Changeset 3c45656 in buchla-68k for ram/asgvce.c


Ignore:
Timestamp:
11/15/2017 08:17:05 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
0b23063
Parents:
8d0af8a
Message:

Fixed constant overflow warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/asgvce.c

    r8d0af8a r3c45656  
    8383                        DB_CMNT("ne_end - enter note end");
    8484                        ep->e_time  = t_cur;
    85                         ep->e_type  = EV_NEND | 0x80;
     85                        ep->e_type  = (int8_t)(EV_NEND | 0x80);
    8686                        ep->e_note  = (int8_t)nn;
    8787                        ep->e_group = (int8_t)grp;
     
    132132                                        DB_CMNT("ne_end - enter note end");
    133133                                        ep->e_time  = t_cur;
    134                                         ep->e_type  = EV_NEND | 0x80;
     134                                        ep->e_type  = (int8_t)(EV_NEND | 0x80);
    135135                                        ep->e_note  = (int8_t)nn;
    136136                                        ep->e_group = (int8_t)grp;
     
    245245                        DB_CMNT("ne_bgn - enter note begin");
    246246                        ep->e_time  = t_cur;
    247                         ep->e_type  = EV_NBEG | 0x80;
     247                        ep->e_type  = (int8_t)(EV_NBEG | 0x80);
    248248                        ep->e_note  = (int8_t)key;
    249249                        ep->e_group = (int8_t)grp;
Note: See TracChangeset for help on using the changeset viewer.