commit c09f3d7dba4e5d556152cc941dc3c8071068b933
parent 5a69a47415c5c3573edbae60a9cc009550ff08c7
Author: Ricardo Mones <ricardo@mones.org>
Date: Wed, 25 Apr 2018 15:40:42 +0200
Fix array type to match items
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
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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
};