aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-08-17 15:45:24 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2014-08-17 15:45:24 +0200
commit8632e5fe8335476b82233708dd3d751cf1e7026b (patch)
treeb3d6819d2456d3540fcb93f7154a64ac74f5a28e
parentfb74a463930412e5acbe65ccc617fcfc528af03c (diff)
downloadxK-8632e5fe8335476b82233708dd3d751cf1e7026b.tar.gz
xK-8632e5fe8335476b82233708dd3d751cf1e7026b.tar.xz
xK-8632e5fe8335476b82233708dd3d751cf1e7026b.zip
Silence GCC
-rw-r--r--zyklonb.c3
1 files changed, 2 insertions, 1 deletions
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