From: Victor Julien Date: Sat, 19 Dec 2015 15:27:35 +0000 (+0100) Subject: redis: fix compiler warning X-Git-Tag: suricata-3.0RC3~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1799%2Fhead;p=thirdparty%2Fsuricata.git redis: fix compiler warning --- 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);