1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

Ensure type matches format string in /uptime.

Garbled output could happen if time_t was a different size from long.
bug #665


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5060 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Jilles Tjoelker 2009-04-17 12:42:41 +00:00 committed by jilles
parent 4ec53567a5
commit 3400958570

View File

@ -172,7 +172,7 @@ static void cmd_nick(const char *data, SERVER_REC *server)
/* SYNTAX: UPTIME */
static void cmd_uptime(char *data)
{
time_t uptime;
long uptime;
g_return_if_fail(data != NULL);