mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-26 06:19:42 +08:00
2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/psignal.h, rtems/inline/rtems/rtems/support.inl: Remove warnings.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* posix/include/rtems/posix/psignal.h,
|
||||
rtems/inline/rtems/rtems/support.inl: Remove warnings.
|
||||
|
||||
2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* sapi/include/rtems/config.h: Switch from ssize_t to uintptr_t for
|
||||
|
||||
@@ -29,7 +29,7 @@ static inline sigset_t signo_to_mask(
|
||||
uint32_t sig
|
||||
)
|
||||
{
|
||||
return 1 << (sig - 1);
|
||||
return 1u << (sig - 1);
|
||||
}
|
||||
|
||||
#define is_valid_signo( _sig ) \
|
||||
|
||||
@@ -53,10 +53,10 @@ RTEMS_INLINE_ROUTINE void rtems_name_to_characters(
|
||||
char *c4
|
||||
)
|
||||
{
|
||||
*c1 = (name >> 24) & 0xff;
|
||||
*c2 = (name >> 16) & 0xff;
|
||||
*c3 = (name >> 8) & 0xff;
|
||||
*c4 = name & 0xff;
|
||||
*c1 = (char) ((name >> 24) & 0xff);
|
||||
*c2 = (char) ((name >> 16) & 0xff);
|
||||
*c3 = (char) ((name >> 8) & 0xff);
|
||||
*c4 = (char) ( name & 0xff);
|
||||
}
|
||||
|
||||
/**@}*/
|
||||
|
||||
Reference in New Issue
Block a user