aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-05-23 10:31:04 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-05-23 10:31:04 +0200
commitfc630f9fb47690c30feaf4738727a213d633afc9 (patch)
tree237b7e526b5225b964ef71dc92ca26facdbaa3d7 /irc_commands.c
parenta9ca7dd4d4b6dc55be46bbbdd166922c69a73590 (diff)
Silenced all compiler warnings that appeared after previous commit.
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc_commands.c b/irc_commands.c
index 6447835d..fe67a534 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -384,9 +384,9 @@ static void irc_cmd_watch( irc_t *irc, char **cmd )
g_hash_table_insert( irc->watches, nick, nick );
if( u && u->online )
- irc_reply( irc, 604, "%s %s %s %d :%s", u->nick, u->user, u->host, time( NULL ), "is online" );
+ irc_reply( irc, 604, "%s %s %s %d :%s", u->nick, u->user, u->host, (int) time( NULL ), "is online" );
else
- irc_reply( irc, 605, "%s %s %s %d :%s", nick, "*", "*", time( NULL ), "is offline" );
+ irc_reply( irc, 605, "%s %s %s %d :%s", nick, "*", "*", (int) time( NULL ), "is offline" );
}
else if( cmd[i][0] == '-' )
{