mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 01:16:52 +08:00
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libmisc/stringto/stringto_template.h: Remove warning.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* libmisc/stringto/stringto_template.h: Remove warning.
|
||||
|
||||
2010-04-25 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* posix/src/pthread.c: Make default pthread_attr_t match the
|
||||
|
||||
@@ -127,7 +127,11 @@ rtems_status_code STRING_TO_NAME (
|
||||
return RTEMS_INVALID_NUMBER;
|
||||
#endif
|
||||
|
||||
*n = (STRING_TO_TYPE) result;
|
||||
#if defined(STRING_TO_POINTER)
|
||||
*n = (STRING_TO_TYPE) (uintptr_t)result;
|
||||
#else
|
||||
*n = (STRING_TO_TYPE) result;
|
||||
#endif
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user