Changeset 604f35e2 in rtems


Ignore:
Timestamp:
May 8, 2009, 6:07:26 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
72510eb
Parents:
6d96c98
Message:

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

  • posix/include/rtems/posix/psignal.h, rtems/inline/rtems/rtems/support.inl: Remove warnings.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r6d96c98 r604f35e2  
     12009-05-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * posix/include/rtems/posix/psignal.h,
     4        rtems/inline/rtems/rtems/support.inl: Remove warnings.
     5
    162009-05-08      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/posix/include/rtems/posix/psignal.h

    r6d96c98 r604f35e2  
    3030)
    3131{
    32   return 1 << (sig - 1);
     32  return 1u << (sig - 1);
    3333}
    3434
  • cpukit/rtems/inline/rtems/rtems/support.inl

    r6d96c98 r604f35e2  
    5454)
    5555{
    56   *c1 = (name >> 24) & 0xff;
    57   *c2 = (name >> 16) & 0xff;
    58   *c3 = (name >> 8) & 0xff;
    59   *c4 =  name & 0xff;
     56  *c1 = (char) ((name >> 24) & 0xff);
     57  *c2 = (char) ((name >> 16) & 0xff);
     58  *c3 = (char) ((name >> 8) & 0xff);
     59  *c4 = (char) ( name & 0xff);
    6060}
    6161
Note: See TracChangeset for help on using the changeset viewer.