From 8632e5fe8335476b82233708dd3d751cf1e7026b Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 17 Aug 2014 15:45:24 +0200
Subject: Silence GCC
---
zyklonb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/zyklonb.c b/zyklonb.c
index fde8a02..806de8b 100644
--- a/zyklonb.c
+++ b/zyklonb.c
@@ -1484,7 +1484,8 @@ on_irc_timeout (void *user_data)
{
// Provoke a response from the server
struct bot_context *ctx = user_data;
- irc_send (ctx, "PING :%s", str_map_find (&ctx->config, "nickname"));
+ irc_send (ctx, "PING :%s",
+ (char *) str_map_find (&ctx->config, "nickname"));
}
static void
--
cgit v1.2.3-70-g09d2