- Timestamp:
- 11/12/2017 09:33:30 PM (7 years ago)
- Branches:
- master
- Children:
- 3577fe1
- Parents:
- 6f0834c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/msm.c
r6f0834c r72f4794 702 702 ep->e_time = t_cur; 703 703 ep->e_type = EV_ANVL; 704 ep->e_data1 = ( src2var[i] << 4) | t1;704 ep->e_data1 = (int8_t)((src2var[i] << 4) | t1); 705 705 ep->e_dn = (struct s_entry *)((int32_t)t2 << 16); 706 706 p_cur = e_ins(ep, ep_adj(p_cur, 0, t_cur))->e_fwd; … … 726 726 727 727 t1 = (miport << 4) | michan; 728 t2 = ((mdb2 << 9) | (mdb1 << 2)) ^ 0x8000;728 t2 = ((mdb2 << 9) | (mdb1 << 2)) ^ (int16_t)0x8000; 729 729 mpbend[t1] = t2; 730 730 … … 743 743 ep->e_time = t_cur; 744 744 ep->e_type = EV_ANVL; 745 ep->e_data1 = i;745 ep->e_data1 = (int8_t)i; 746 746 ep->e_dn = (struct s_entry *)((int32_t)t2 << 16); 747 747 p_cur = e_ins(ep, ep_adj(p_cur, 0, t_cur))->e_fwd;
Note:
See TracChangeset
for help on using the changeset viewer.