comparison mcabber/mcabber/caps.c @ 2221:3f9988ec21e0

caps: Add a cast to remove a compilation warning
author Mikael Berthe <mikael@lilotux.net>
date Fri, 06 Nov 2015 19:46:48 +0100
parents 79e12dacbccd
children 965e0282c128
comparison
equal deleted inserted replaced
2220:79e12dacbccd 2221:3f9988ec21e0
281 gsize digest_size = 20; 281 gsize digest_size = 20;
282 gchar *hash, *old_hash = NULL; 282 gchar *hash, *old_hash = NULL;
283 caps *old_caps, *c; 283 caps *old_caps, *c;
284 gpointer key; 284 gpointer key;
285 285
286 if (!g_hash_table_lookup_extended(caps_cache, "", &key, &c)) 286 if (!g_hash_table_lookup_extended(caps_cache, "", &key, (gpointer *)&c))
287 return NULL; 287 return NULL;
288 288
289 g_hash_table_steal(caps_cache, ""); 289 g_hash_table_steal(caps_cache, "");
290 g_free(key); 290 g_free(key);
291 291