Changeset 432327d in buchla-68k for ram/asgvce.c


Ignore:
Timestamp:
09/17/2017 09:27:29 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
6099cac
Parents:
8c8b4e5
Message:

Fix conversion warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/asgvce.c

    r8c8b4e5 r432327d  
    8484                        ep->e_time  = t_cur;
    8585                        ep->e_type  = EV_NEND | 0x80;
    86                         ep->e_note  = nn;
    87                         ep->e_group = grp;
     86                        ep->e_note  = (int8_t)nn;
     87                        ep->e_group = (int8_t)grp;
    8888                        ep->e_vel   = SM_SCALE(64);
    8989
     
    132132                                        ep->e_time  = t_cur;
    133133                                        ep->e_type  = EV_NEND | 0x80;
    134                                         ep->e_note  = nn;
    135                                         ep->e_group = grp;
     134                                        ep->e_note  = (int8_t)nn;
     135                                        ep->e_group = (int8_t)grp;
    136136                                        ep->e_vel   = SM_SCALE(64);
    137137
     
    244244                        ep->e_time  = t_cur;
    245245                        ep->e_type  = EV_NBEG | 0x80;
    246                         ep->e_note  = key;
    247                         ep->e_group = grp;
     246                        ep->e_note  = (int8_t)key;
     247                        ep->e_group = (int8_t)grp;
    248248                        ep->e_vel   = (clksrc EQ CK_STEP) ? SM_SCALE(64) : vel;
    249249
Note: See TracChangeset for help on using the changeset viewer.