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);