summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2015-12-29 22:45:50 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-12-29 23:02:21 +0100
commitfb6b3f972b93358390871f17f2a93423daca7aa7 (patch)
treedd6f981a70c15ad12b0460eec8b937652fcdbf9b
parent17668a5c621e54bc0b68dc6638590a587b52bb91 (diff)
fix compiler warnings in hurd/libihash
-rw-r--r--libihash/ihash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libihash/ihash.c b/libihash/ihash.c
index 596f6ff0..4bc54fdb 100644
--- a/libihash/ihash.c
+++ b/libihash/ihash.c
@@ -114,7 +114,7 @@ find_index (hurd_ihash_t ht, hurd_ihash_key_t key)
static inline void
locp_remove (hurd_ihash_t ht, hurd_ihash_locp_t locp)
{
- struct _hurd_ihash_item *item = locp;
+ struct _hurd_ihash_item *item = (struct _hurd_ihash_item *) locp;
if (ht->cleanup)
(*ht->cleanup) (item->value, ht->cleanup_data);
item->value = _HURD_IHASH_DELETED;