summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte2011-07-16 11:57:53 +0200
committerHarald Welte2011-07-16 12:03:46 +0200
commit87dbca148fb9c398e8d2de50ddbfc72e59ca6b26 (patch)
treea9d94fdcb98edfcc1cc199eebd45c559fc2d8794 /include
parenttimer: use (void) for functions that take no arguments (diff)
downloadlibosmocore-87dbca148fb9c398e8d2de50ddbfc72e59ca6b26.tar.gz
libosmocore-87dbca148fb9c398e8d2de50ddbfc72e59ca6b26.tar.xz
libosmocore-87dbca148fb9c398e8d2de50ddbfc72e59ca6b26.zip
don't use signed bit-fields
detected by Smatch
Diffstat (limited to 'include')
-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 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;