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:
Joel Sherrill
2009-05-08 18:07:26 +00:00
parent 6d96c98879
commit 604f35e2dd
3 changed files with 10 additions and 5 deletions
+5
View File
@@ -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
+1 -1
View File
@@ -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 ) \
+4 -4
View File
@@ -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);
}
/**@}*/