summaryrefslogtreecommitdiff
path: root/nuttx/arch/z16/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 13:48:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 13:48:27 +0000
commita23845ccf98018e8fc455677579fca2a947e1074 (patch)
tree6a13ec3fb03130a95a22a72e9602691352f75535 /nuttx/arch/z16/include
parent0e6ef35d7faf0d0978120a502bf58f4c109ee948 (diff)
downloadnuttx-a23845ccf98018e8fc455677579fca2a947e1074.tar.gz
nuttx-a23845ccf98018e8fc455677579fca2a947e1074.tar.bz2
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/z16/include')
-rw-r--r--nuttx/arch/z16/include/limits.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/arch/z16/include/limits.h b/nuttx/arch/z16/include/limits.h
index 56ac65afa..05c34fae4 100644
--- a/nuttx/arch/z16/include/limits.h
+++ b/nuttx/arch/z16/include/limits.h
@@ -72,7 +72,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_Z16_INCLUDE_LIMITS_H */