diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-14 13:48:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-14 13:48:27 +0000 |
commit | a23845ccf98018e8fc455677579fca2a947e1074 (patch) | |
tree | 6a13ec3fb03130a95a22a72e9602691352f75535 /nuttx/arch/arm | |
parent | 0e6ef35d7faf0d0978120a502bf58f4c109ee948 (diff) | |
download | px4-nuttx-a23845ccf98018e8fc455677579fca2a947e1074.tar.gz px4-nuttx-a23845ccf98018e8fc455677579fca2a947e1074.tar.bz2 px4-nuttx-a23845ccf98018e8fc455677579fca2a947e1074.zip |
Need limits of signed and unsigned pointer-sized integers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2334 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm')
-rw-r--r-- | nuttx/arch/arm/include/limits.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/arch/arm/include/limits.h b/nuttx/arch/arm/include/limits.h index fc122a3ac..c2033dd94 100644 --- a/nuttx/arch/arm/include/limits.h +++ b/nuttx/arch/arm/include/limits.h @@ -74,7 +74,8 @@ /* A pointer is 4 bytes */ -#define PTR_MIN 0x00000000 -#define PTR_MAX 0xffffffff +#define PTR_MIN 0x80000000 +#define PTR_MAX 0x7fffffff +#define UPTR_MAX 0xffffffff #endif /* __ARCH_ARM_INCLUDE_LIMITS_H */ |