summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-13 16:43:53 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-13 16:43:53 +0000
commit6353f96c0633acee307d809b7f6cd6c21b5a12ac (patch)
tree236d301272589344f8214b4110d6d86ed63ef00f
parentfb596dfe949b88d64805fa54c94b3ab8dbf06809 (diff)
Cast these to shut up compiler
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9484 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_xline_db.cpp2
1 files changed, 1 insertions, 1 deletions
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..");