- Timestamp:
- 11/12/2017 09:29:14 PM (7 years ago)
- Branches:
- master
- Children:
- 7a2cb0d
- Parents:
- 2370d81
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/chksec.c
r2370d81 r96496d0 432 432 /* regroup */ 433 433 434 np->e_data2 = ( np->e_data2 & 0x00F0) |435 grptmap[grp] ;434 np->e_data2 = (int8_t)((np->e_data2 & 0x00F0) | 435 grptmap[grp]); 436 436 437 437 /* transpose */ … … 444 444 nv = 0; 445 445 446 np->e_data1 = nv;446 np->e_data1 = (int8_t)nv; 447 447 448 448 } else if ((et EQ EV_ANRS) OR (et EQ EV_ANVL)) { … … 450 450 /* regroup */ 451 451 452 np->e_data1 = ( np->e_data1 & 0x000F) |453 (grptmap[grp] << 4) ;452 np->e_data1 = (int8_t)((np->e_data1 & 0x000F) | 453 (grptmap[grp] << 4)); 454 454 455 455 } else { … … 458 458 459 459 if (cmgtype[et]) 460 np->e_data2 = ( np->e_data2 & 0x00F0) |461 grptmap[grp] ;460 np->e_data2 = (int8_t)((np->e_data2 & 0x00F0) | 461 grptmap[grp]); 462 462 else 463 np->e_data1 = ( np->e_data1 & 0x00F0) |464 grptmap[grp] ;463 np->e_data1 = (int8_t)((np->e_data1 & 0x00F0) | 464 grptmap[grp]); 465 465 } 466 466 }
Note:
See TracChangeset
for help on using the changeset viewer.