summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-16 11:57:53 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-16 12:03:46 +0200
commit87dbca148fb9c398e8d2de50ddbfc72e59ca6b26 (patch)
treea9d94fdcb98edfcc1cc199eebd45c559fc2d8794 /include/osmocom
parent7e8202025952db439dd54979f6143ad94942dea3 (diff)
don't use signed bit-fields
detected by Smatch
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/core/logging.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 4276b3af..390fc983 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;