From 87dbca148fb9c398e8d2de50ddbfc72e59ca6b26 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 16 Jul 2011 11:57:53 +0200 Subject: [PATCH] don't use signed bit-fields detected by Smatch --- include/osmocom/core/logging.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h index 4276b3a..390fc98 100644 --- a/include/osmocom/core/logging.h +++ b/include/osmocom/core/logging.h @@ -90,8 +90,8 @@ struct log_target { struct log_category *categories; uint8_t loglevel; - int use_color:1; - int print_timestamp:1; + unsigned int use_color:1; + unsigned int print_timestamp:1; enum log_target_type type; -- 2.20.1