several fixes to make irssi compile without warnings with MIPSpro

also fixed ctcp_queue_clean() - it might have crashed sometimes..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-11-23 21:40:07 +00:00 committed by cras
commit 8ce36c05ea
30 changed files with 80 additions and 72 deletions

View file

@ -251,7 +251,7 @@ GModule *module_open(const char *name)
g_free(str);
if (stat(path, &statbuf) == 0) {
module = g_module_open(path, 0);
module = g_module_open(path, (GModuleFlags) 0);
g_free(path);
return module;
}
@ -260,7 +260,7 @@ GModule *module_open(const char *name)
path = g_module_build_path(MODULEDIR, name);
}
module = g_module_open(path, 0);
module = g_module_open(path, (GModuleFlags) 0);
g_free(path);
return module;
}