mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
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:
parent
8fb2249f07
commit
8ce36c05ea
30 changed files with 80 additions and 72 deletions
|
|
@ -37,7 +37,7 @@ static int irssi_io_invoke(GIOChannel *source, GIOCondition condition,
|
|||
void *data)
|
||||
{
|
||||
IRSSI_INPUT_REC *rec = data;
|
||||
GInputCondition icond = 0;
|
||||
GInputCondition icond = (GInputCondition)0;
|
||||
|
||||
if (condition & (G_IO_ERR | G_IO_HUP | G_IO_NVAL)) {
|
||||
/* error, we have to call the function.. */
|
||||
|
|
@ -73,7 +73,7 @@ int g_input_add_full(int source, int priority, GInputCondition condition,
|
|||
rec->function = function;
|
||||
rec->data = data;
|
||||
|
||||
cond = G_IO_ERR|G_IO_HUP|G_IO_NVAL;
|
||||
cond = (GIOCondition) (G_IO_ERR|G_IO_HUP|G_IO_NVAL);
|
||||
if (condition & G_INPUT_READ)
|
||||
cond |= G_IO_IN|G_IO_PRI;
|
||||
if (condition & G_INPUT_WRITE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue