From b22124cbc3f4fb365a743cd5d5bb76223e48eeed Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 13 Jun 2008 17:52:11 +0000 Subject: Win32 compilation fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9904 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_whois.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/commands/cmd_whois.cpp') diff --git a/src/commands/cmd_whois.cpp b/src/commands/cmd_whois.cpp index 8afc23525..29264348c 100644 --- a/src/commands/cmd_whois.cpp +++ b/src/commands/cmd_whois.cpp @@ -137,7 +137,7 @@ CmdResult CommandWhois::Handle (const std::vector& parameters, User */ if (IS_LOCAL(dest) && (!*ServerInstance->Config->HideWhoisServer || parameters.size() > 1)) { - idle = abs((dest->idle_lastmsg)-ServerInstance->Time()); + idle = abs((long)((dest->idle_lastmsg)-ServerInstance->Time())); signon = dest->signon; } @@ -154,3 +154,4 @@ CmdResult CommandWhois::Handle (const std::vector& parameters, User return CMD_SUCCESS; } + -- cgit v1.2.3