Changeset 4848b56 in rtems


Ignore:
Timestamp:
May 5, 2009, 7:37:10 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
f16a6fe7
Parents:
2f1f2ed
Message:

2009-05-05 Joel Sherrill <joel.sherrill@…>

  • rtems/score/cpu.h: Remove warnings.
Location:
cpukit/score/cpu/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/ChangeLog

    r2f1f2ed r4848b56  
     12009-05-05      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * rtems/score/cpu.h: Remove warnings.
     4
    152009-02-11      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • cpukit/score/cpu/arm/rtems/score/cpu.h

    r2f1f2ed r4848b56  
    829829}
    830830
    831 static inline uint16_t   CPU_swap_u16(uint16_t  value)
     831static inline uint16_t CPU_swap_u16(uint16_t value)
    832832{
    833833    uint16_t   lower;
    834834    uint16_t   upper;
    835835
    836     value = value & (uint16_t  ) 0xffff;
    837     lower = (value >> 8) ;
    838     upper = (value << 8) ;
     836    value = value & (uint16_t) 0xffff;
     837    lower = (value >> 8);
     838    upper = (value << 8) & 0xff;
    839839
    840840    return (lower | upper);
Note: See TracChangeset for help on using the changeset viewer.