From 8fd070bb9a1a8e355f0899ef2f02c55ab90a09d8 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 22 May 2024 14:14:29 +0200 Subject: [PATCH] Fixed warning. --- data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.c b/data.c index 3377f3e..6ac115d 100644 --- a/data.c +++ b/data.c @@ -114,7 +114,7 @@ int srv_open(const char *basedir, int auto_upgrade) #endif #ifdef __OpenBSD__ - char *v = xs_dict_get(srv_config, "disable_openbsd_security"); + const char *v = xs_dict_get(srv_config, "disable_openbsd_security"); if (v && xs_type(v) == XSTYPE_TRUE) { srv_debug(1, xs_dup("OpenBSD security disabled by admin"));