From 37a64bdd45936875598925f7ccde420e4efdc450 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sat, 19 Dec 2015 16:27:35 +0100 Subject: [PATCH] redis: fix compiler warning --- src/util-logopenfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util-logopenfile.c b/src/util-logopenfile.c index 84e5d2fe63..04173d48f1 100644 --- a/src/util-logopenfile.c +++ b/src/util-logopenfile.c @@ -538,7 +538,7 @@ int LogFileFreeCtx(LogFileCtx *lf_ctx) } #ifdef HAVE_LIBHIREDIS -static int LogFileWriteRedis(LogFileCtx *file_ctx, char *string, size_t string_len) +static int LogFileWriteRedis(LogFileCtx *file_ctx, const char *string, size_t string_len) { if (file_ctx->redis == NULL) { SCConfLogReopenRedis(file_ctx); -- 2.47.2