From c09f3d7dba4e5d556152cc941dc3c8071068b933 Mon Sep 17 00:00:00 2001 From: Ricardo Mones Date: Wed, 25 Apr 2018 15:40:42 +0200 Subject: [PATCH] Fix array type to match items MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes warnings: • …from log.c:25: /usr/include/glib-2.0/glib/gmacros.h:284:14: warning: initialization makes pointer from integer without a cast • log.c:189:29: warning: return makes integer from pointer without a cast --- src/common/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/log.c b/src/common/log.c index 8b21061a1..286b836d6 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -65,7 +65,7 @@ static gchar *log_filename[LOG_INSTANCE_MAX] = { }; /* read-only */ -static gchar *log_error_capability[LOG_INSTANCE_MAX] = { +static gboolean log_error_capability[LOG_INSTANCE_MAX] = { TRUE, FALSE }; -- 2.25.1