aboutsummaryrefslogtreecommitdiff
path: root/irc/lostirc/files/patch-src_libirc_Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'irc/lostirc/files/patch-src_libirc_Parser.cpp')
-rw-r--r--irc/lostirc/files/patch-src_libirc_Parser.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/irc/lostirc/files/patch-src_libirc_Parser.cpp b/irc/lostirc/files/patch-src_libirc_Parser.cpp
new file mode 100644
index 000000000000..a71575d93d2a
--- /dev/null
+++ b/irc/lostirc/files/patch-src_libirc_Parser.cpp
@@ -0,0 +1,11 @@
+--- src/libirc/Parser.cpp.orig Sat May 31 09:25:44 2003
++++ src/libirc/Parser.cpp Mon Jul 7 00:37:53 2003
+@@ -681,7 +681,7 @@
+ ss >> time;
+
+ long date = std::atol(time.c_str());
+- time = std::ctime(&date);
++ time = std::ctime((const time_t *)&date);
+
+ Channel *c = _conn->findChannel(chan);
+ assert(c);