diff --git a/lib/libstand/zalloc_defs.h b/lib/libstand/zalloc_defs.h index efde5b5b38b..668f785f99c 100644 --- a/lib/libstand/zalloc_defs.h +++ b/lib/libstand/zalloc_defs.h @@ -61,7 +61,10 @@ typedef long saddr_t; /* signed long same size as pointer */ typedef unsigned long iaddr_t; /* unsigned long same size as pointer */ typedef long saddr_t; /* signed long same size as pointer */ #endif - +#ifdef __arm__ +typedef unsigned long iaddr_t; /* unsigned int same size as pointer */ +typedef int saddr_t; /* signed int same size as pointer */ +#endif #include "zalloc_mem.h" #define Prototype extern