summaryrefslogtreecommitdiff
path: root/debian/patches/translators-list0001-fu_gki.patch
blob: deb4a1d1480ffac304621324b2b86c79af3458cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From c65b42c1f589fe99129b7be08350ba6565d68376 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Tue, 24 Nov 2015 01:33:29 +0100
Subject: [PATCH hurd 1/5] fu_gki

---
 libihash/ihash.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libihash/ihash.c b/libihash/ihash.c
index ae9f970..292743b 100644
--- a/libihash/ihash.c
+++ b/libihash/ihash.c
@@ -44,7 +44,8 @@ hash (hurd_ihash_t ht, hurd_ihash_key_t k)
 static inline int
 compare (hurd_ihash_t ht, hurd_ihash_key_t a, hurd_ihash_key_t b)
 {
-  return ht->fct_cmp ? (a && ht->fct_cmp (a, b)) : a == b;
+  return
+    ht->fct_cmp ? (a && ht->fct_cmp ((void *) a, (void *) b)) : a == b;
 }
 
 /* Return 1 if the slot with the index IDX in the hash table HT is
-- 
2.1.4