aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand/zalloc_defs.h
diff options
context:
space:
mode:
authorRobert Drehmel <robert@FreeBSD.org>2003-04-12 07:36:44 +0000
committerRobert Drehmel <robert@FreeBSD.org>2003-04-12 07:36:44 +0000
commit5a1c2d4f6209e39a5adf88d5caf88b4c9148fe27 (patch)
tree59bc51a51884d9ceddfd6eb0f725c7915f3f98b5 /lib/libstand/zalloc_defs.h
parent9bca28a70386c418f2bd4e6dd22d32b5d405fd9d (diff)
downloadsrc-5a1c2d4f6209e39a5adf88d5caf88b4c9148fe27.tar.gz
src-5a1c2d4f6209e39a5adf88d5caf88b4c9148fe27.zip
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.
Notes
Notes: svn path=/head/; revision=113388
Diffstat (limited to 'lib/libstand/zalloc_defs.h')
-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 b7ba0632ad71..8be4ee1decf7 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 */