From 117742632909d9bfd71fc4feb3304263558101b7 Mon Sep 17 00:00:00 2001 From: dz Date: Wed, 28 Jan 2009 11:27:10 +0000 Subject: Note to self, cast time_t to long int for printf... thanks Ankit for pointing this out. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11012 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_svshold.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_svshold.cpp') diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp index b5b308f6a..2dc0e22ef 100644 --- a/src/modules/m_svshold.cpp +++ b/src/modules/m_svshold.cpp @@ -48,7 +48,7 @@ public: void DisplayExpiry() { - ServerInstance->SNO->WriteToSnoMask('x',"Removing expired SVSHOLD %s (set by %s %ld seconds ago)", this->nickname.c_str(), this->source, ServerInstance->Time() - this->set_time); + ServerInstance->SNO->WriteToSnoMask('x',"Removing expired SVSHOLD %s (set by %s %ld seconds ago)", this->nickname.c_str(), this->source, (long int)(ServerInstance->Time() - this->set_time)); } const char* Displayable() -- cgit v1.2.3