From b7b450efac6497f5ac698213a33fd01c6af736da Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Dec 2008 19:30:37 +0000 Subject: 2008-12-19 Joel Sherrill * itron/include/itronsys/types.h: Derive ITRON ID type from Objects_Id to avoid sizing mismatches. --- cpukit/itron/include/itronsys/types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpukit/itron') diff --git a/cpukit/itron/include/itronsys/types.h b/cpukit/itron/include/itronsys/types.h index a580bf4ffb..80d73c4c3a 100644 --- a/cpukit/itron/include/itronsys/types.h +++ b/cpukit/itron/include/itronsys/types.h @@ -16,6 +16,8 @@ #ifndef _ITRONSYS_TYPES_H #define _ITRONSYS_TYPES_H +#include + #ifdef __cplusplus extern "C" { #endif @@ -61,7 +63,7 @@ typedef int32_t INT; /* Signed integer (bit width of processor) */ typedef uint32_t UINT; /* Unsigned integer (bit width of processor) */ typedef bool BOOL; /* Boolean value. TRUE (1) or FALSE (0). */ typedef int16_t FN; /* Function code. Signed integer. Maximum 2 bytes. */ -typedef int ID; /* Object ID number (???id) */ +typedef Objects_Id ID; /* Object ID number (???id) */ /* Value range depends on the system. Usually */ /* a signed integer. Certain ID values may */ /* represent objects on other nodes when the */ -- cgit v1.2.3