mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
- Compiling fixes
- GNOME version isn't anymore build here so you don't need all that GTK and GNOME crap to compile irssi-text. - Some fixes to compile with -ansi -pedantic git-svn-id: http://svn.irssi.org/repos/irssi/trunk@200 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
90ff30fcd0
commit
93d6032151
34 changed files with 524 additions and 535 deletions
|
|
@ -108,7 +108,7 @@ static char *get_long_variable_value(const char *key, void *server, void *item,
|
|||
*free_ret = FALSE;
|
||||
|
||||
/* expando? */
|
||||
func = g_hash_table_lookup(expandos, key);
|
||||
func = (EXPANDO_FUNC) g_hash_table_lookup(expandos, key);
|
||||
if (func != NULL)
|
||||
return func(server, item, free_ret);
|
||||
|
||||
|
|
@ -502,7 +502,7 @@ void expando_create(const char *key, EXPANDO_FUNC func)
|
|||
g_free(origkey);
|
||||
g_hash_table_remove(expandos, key);
|
||||
}
|
||||
g_hash_table_insert(expandos, g_strdup(key), func);
|
||||
g_hash_table_insert(expandos, g_strdup(key), (void *) func);
|
||||
}
|
||||
|
||||
/* Destroy expando */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue