[rtems commit] rtems: make error codes uintptr_t
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Mar 16 18:23:04 UTC 2015
----- Gedare Bloom <gedare at rtems.org> schrieb:
> Module: rtems
> Branch: master
> Commit: 1ff449cfc473f6b88e1495492aebd665ad42b236
> Changeset: http://git.rtems.org/rtems/commit/?id=1ff449cfc473f6b88e1495492aebd665ad42b236
>
> Author: Gedare Bloom <gedare at rtems.org>
> Date: Mon Mar 16 12:15:27 2015 -0400
>
> rtems: make error codes uintptr_t
>
> ---
>
> cpukit/score/include/rtems/score/interr.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h
> index e0cedaf..7c2a604 100644
> --- a/cpukit/score/include/rtems/score/interr.h
> +++ b/cpukit/score/include/rtems/score/interr.h
> @@ -164,7 +164,7 @@ typedef enum {
> INTERNAL_ERROR_RESOURCE_IN_USE
> } Internal_errors_Core_list;
>
> -typedef uint32_t Internal_errors_t;
> +typedef uintptr_t Internal_errors_t;
This is a problem on 16-bit targets. I suggest to use unsigned long here.
More information about the devel
mailing list