summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2003-04-12 07:36:44 +0000
committerrobert <robert@FreeBSD.org>2003-04-12 07:36:44 +0000
commit0aeffee15b90eaf9e1bf857750489faaac5eea25 (patch)
tree59bc51a51884d9ceddfd6eb0f725c7915f3f98b5 /lib/libstand
parent25eb78399b5914c5479cd8869b704be2150be0d7 (diff)
downloadFreeBSD-src-0aeffee15b90eaf9e1bf857750489faaac5eea25.zip
FreeBSD-src-0aeffee15b90eaf9e1bf857750489faaac5eea25.tar.gz
Trust the code more than the comment(s) and correct some false
statements about pointer data type sizes, which spread probably by copy-and-paste.
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/zalloc_defs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libstand/zalloc_defs.h b/lib/libstand/zalloc_defs.h
index b7ba063..8be4ee1 100644
--- a/lib/libstand/zalloc_defs.h
+++ b/lib/libstand/zalloc_defs.h
@@ -48,16 +48,16 @@ typedef unsigned int iaddr_t; /* unsigned int same size as pointer */
typedef int saddr_t; /* signed int same size as pointer */
#endif
#ifdef __alpha__
-typedef unsigned long iaddr_t; /* unsigned int same size as pointer */
-typedef long saddr_t; /* signed int 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 __powerpc__
typedef unsigned int iaddr_t; /* unsigned int same size as pointer */
typedef int saddr_t; /* signed int same size as pointer */
#endif
#ifdef __ia64__
-typedef unsigned long iaddr_t; /* unsigned int same size as pointer */
-typedef long saddr_t; /* signed int 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 __sparc64__
typedef unsigned long iaddr_t; /* unsigned long same size as pointer */
OpenPOWER on IntegriCloud