mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -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:
parent
4ec53567a5
commit
3400958570
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user