From 6353f96c0633acee307d809b7f6cd6c21b5a12ac Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 13 Apr 2008 16:43:53 +0000 Subject: Cast these to shut up compiler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9484 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_xline_db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp index 020588c52..fa4d67d59 100644 --- a/src/modules/m_xline_db.cpp +++ b/src/modules/m_xline_db.cpp @@ -118,7 +118,7 @@ class ModuleXLineDB : public Module { line = (*i); fprintf(f, "LINE %s %s %s %lu %lu :%s\n", line->type.c_str(), line->Displayable(), - ServerInstance->Config->ServerName, line->set_time, line->duration, line->reason); + ServerInstance->Config->ServerName, (unsigned long)line->set_time, (unsigned long)line->duration, line->reason); } ServerInstance->Logs->Log("m_xline_db",DEBUG, "xlinedb: Finished writing XLines. Checking for error.."); -- cgit v1.2.3