From fb6b3f972b93358390871f17f2a93423daca7aa7 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Tue, 29 Dec 2015 22:45:50 +0100 Subject: fix compiler warnings in hurd/libihash --- libihash/ihash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libihash/ihash.c') 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; -- cgit v1.2.3