commit 24310342700283d81919e810dac7e237ec16cf58
parent a098d91be58baea1b656128a2a0995ade9d26c92
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
};