2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>

* libmisc/stringto/stringto_template.h: Remove warning.
This commit is contained in:
Joel Sherrill
2010-04-26 00:50:15 +00:00
parent 9bbba5401c
commit c0c5635164
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -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
+5 -1
View File
@@ -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;
}