Changeset fc630f9


Ignore:
Timestamp:
2006-05-23T08:31:04Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
1c8a7a2, 601e813, 936ded6
Parents:
a9ca7dd
Message:

Silenced all compiler warnings that appeared after previous commit.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    ra9ca7dd rfc630f9  
    830830                        irc_reply( irc, 332, "%s :BitlBee groupchat: \"%s\". Please keep in mind that root-commands won't work here. Have fun!", channel, c->title );
    831831                else
    832                         irc_reply( irc, 331, "%s :No topic for this channel" );
     832                        irc_reply( irc, 331, "%s :No topic for this channel", channel );
    833833        }
    834834}
     
    886886        if( g_hash_table_lookup( irc->watches, nick ) )
    887887        {
    888                 irc_reply( irc, 600, "%s %s %s %d :%s", u->nick, u->user, u->host, time( NULL ), "logged online" );
     888                irc_reply( irc, 600, "%s %s %s %d :%s", u->nick, u->user, u->host, (int) time( NULL ), "logged online" );
    889889        }
    890890        g_free( nick );
     
    911911        if( g_hash_table_lookup( irc->watches, nick ) )
    912912        {
    913                 irc_reply( irc, 601, "%s %s %s %d :%s", u->nick, u->user, u->host, time( NULL ), "logged offline" );
     913                irc_reply( irc, 601, "%s %s %s %d :%s", u->nick, u->user, u->host, (int) time( NULL ), "logged offline" );
    914914        }
    915915        g_free( nick );
  • irc_commands.c

    ra9ca7dd rfc630f9  
    385385                       
    386386                        if( u && u->online )
    387                                 irc_reply( irc, 604, "%s %s %s %d :%s", u->nick, u->user, u->host, time( NULL ), "is online" );
     387                                irc_reply( irc, 604, "%s %s %s %d :%s", u->nick, u->user, u->host, (int) time( NULL ), "is online" );
    388388                        else
    389                                 irc_reply( irc, 605, "%s %s %s %d :%s", nick, "*", "*", time( NULL ), "is offline" );
     389                                irc_reply( irc, 605, "%s %s %s %d :%s", nick, "*", "*", (int) time( NULL ), "is offline" );
    390390                }
    391391                else if( cmd[i][0] == '-' )
  • protocols/oscar/oscar.c

    ra9ca7dd rfc630f9  
    385385        if (g_strcasecmp(user->proto_opt[USEROPT_AUTH], "login.icq.com") != 0 &&
    386386            g_strcasecmp(user->proto_opt[USEROPT_AUTH], "login.oscar.aol.com") != 0) {
    387                 serv_got_crap(gc, "Warning: Unknown OSCAR server: `%s'. Please review your configuration if the connection fails.");
     387                serv_got_crap(gc, "Warning: Unknown OSCAR server: `%s'. Please review your configuration if the connection fails.",user->proto_opt[USEROPT_AUTH]);
    388388        }
    389389       
Note: See TracChangeset for help on using the changeset viewer.