summaryrefslogtreecommitdiff
path: root/libhurd-ihash
diff options
context:
space:
mode:
authorneal <neal>2008-01-23 00:51:25 +0000
committerneal <neal>2008-01-23 00:51:25 +0000
commitd21fac55e7a03ccfc4e22e0a1a11415988c60813 (patch)
treeba11d3387470ae34cd2a264bd678b3b259c675a9 /libhurd-ihash
parentfb849d057672a63fb09e46625637839ff5863be9 (diff)
2008-01-23 Neal H. Walfield <neal@gnu.org>
* ihash.h (HURD_IHASH_NO_LOCP): Define to PTRDIFF_MIN rather than INTPTR_MIN.
Diffstat (limited to 'libhurd-ihash')
-rw-r--r--libhurd-ihash/ChangeLog5
-rw-r--r--libhurd-ihash/ihash.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/libhurd-ihash/ChangeLog b/libhurd-ihash/ChangeLog
index 6ce2684..2c6c5c5 100644
--- a/libhurd-ihash/ChangeLog
+++ b/libhurd-ihash/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-23 Neal H. Walfield <neal@gnu.org>
+
+ * ihash.h (HURD_IHASH_NO_LOCP): Define to PTRDIFF_MIN rather than
+ INTPTR_MIN.
+
2007-11-13 Neal H. Walfield <neal@gnu.org>
* ihash.h (hurd_ihash_locp_remove): Fix comment.
diff --git a/libhurd-ihash/ihash.h b/libhurd-ihash/ihash.h
index bdcc578..6a7a809 100644
--- a/libhurd-ihash/ihash.h
+++ b/libhurd-ihash/ihash.h
@@ -1,5 +1,5 @@
/* ihash.h - Integer keyed hash table interface.
- Copyright (C) 1995, 2003, 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1995, 2003, 2004, 2007, 2008 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>.
Revised by Marcus Brinkmann <marcus@gnu.org>.
@@ -98,7 +98,7 @@ typedef struct hurd_ihash *hurd_ihash_t;
#define HURD_IHASH_MAX_LOAD_DEFAULT 80
/* The LOCP_OFFS to use if no location pointer is available. */
-#define HURD_IHASH_NO_LOCP INTPTR_MIN
+#define HURD_IHASH_NO_LOCP PTRDIFF_MIN
/* The static initializer for a struct hurd_ihash. */
#define HURD_IHASH_INITIALIZER(locp_offs) \