- Timestamp:
- 11/12/2017 09:24:58 PM (7 years ago)
- Branches:
- master
- Children:
- 9738a78
- Parents:
- 081eee0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/etdyn.c
r081eee0 rcdb0f36 16 16 int16_t et_dyn(int16_t n) 17 17 { 18 ebuf[0] = grpdyn[n] + '0';18 ebuf[0] = (int8_t)(grpdyn[n] + '0'); 19 19 ebuf[1] = '\0'; 20 20 ebflag = TRUE; … … 43 43 if (E_NULL NE (ep = findev(p_cur, t_cur, EV_DYN, n, -1))) { 44 44 45 ep->e_data2 = ival;45 ep->e_data2 = (int8_t)ival; 46 46 47 47 } else if (E_NULL NE (ep = e_alc(E_SIZE2))) { 48 48 49 49 ep->e_type = EV_DYN; 50 ep->e_data1 = n;51 ep->e_data2 = ival;50 ep->e_data1 = (int8_t)n; 51 ep->e_data2 = (int8_t)ival; 52 52 ep->e_time = t_cur; 53 53 p_cur = e_ins(ep, ep_adj(p_cur, 0, t_cur))->e_fwd; … … 102 102 (void)n; 103 103 104 ebuf[0] = k + '0';104 ebuf[0] = (int8_t)(k + '0'); 105 105 106 106 if (v_regs[5] & 0x0180)
Note:
See TracChangeset
for help on using the changeset viewer.