diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-19 23:13:30 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-19 23:13:30 +0000 |
commit | 6ce5c90619491440fc68f011c372feaaaf9d66dc (patch) | |
tree | 8e27c7a340a01d6c8cc13229369aabdb50a76d8b /src/protocol/ratbox.c | |
parent | 6c62e3968051283b73aa817966058906f28f289e (diff) |
Add a few items to outstanding issues in TODO, clean up a lot of warnings (not all, some require more widespread changes than this), and fix a few potential bugs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2457 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/ratbox.c')
-rw-r--r-- | src/protocol/ratbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index 7cb6cb884..d338277e9 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -688,8 +688,8 @@ class RatboxProto : public IRCDTS6Proto if (!u->nc) return; - - snprintf(svidbuf, sizeof(svidbuf), "%ld", u->timestamp); + + snprintf(svidbuf, sizeof(svidbuf), "%ld", static_cast<long>(u->timestamp)); if (u->nc->GetExt("authenticationtoken", c)) { |