gpg: Fix skip function dummy parameter.
authorWerner Koch <wk@gnupg.org>
Wed, 16 Sep 2015 17:02:35 +0000 (19:02 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 16 Sep 2015 17:02:35 +0000 (19:02 +0200)
* g10/trustdb.c (search_skipfnc): Fix dummy argument
--

This is required due to the prototype change in
commit 9acbeac23668a1d0dabca27d7825430d76e095c2

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/trustdb.c

index ba4ba5f..b16682d 100644 (file)
@@ -1559,9 +1559,9 @@ validate_one_keyblock (KBNODE kb, struct key_item *klist,
 
 
 static int
-search_skipfnc (void *opaque, u32 *kid, PKT_user_id *dummy)
+search_skipfnc (void *opaque, u32 *kid, int dummy_uid_no)
 {
-  (void)dummy;
+  (void)dummy_uid_no;
   return test_key_hash_table ((KeyHashTable)opaque, kid);
 }