diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-07-24 09:08:48 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-07-24 09:08:48 -0400 |
commit | 167d873bdec3354a74417473043b2e82b6723177 (patch) | |
tree | d54d5e3ab9ad249b74af1e2e805ccf7119b2145f /src/lib/log | |
parent | 5fb070a14da4802f11e84ed83143668502a227c4 (diff) | |
download | tor-167d873bdec3354a74417473043b2e82b6723177.tar.gz tor-167d873bdec3354a74417473043b2e82b6723177.zip |
Fix clang-detected errors related to log_domain_mask_t
Diffstat (limited to 'src/lib/log')
-rw-r--r-- | src/lib/log/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/log/log.c b/src/lib/log/log.c index 756eb2a973..d95bf1ff6e 100644 --- a/src/lib/log/log.c +++ b/src/lib/log/log.c @@ -1022,7 +1022,7 @@ flush_pending_log_callbacks(void) do { SMARTLIST_FOREACH_BEGIN(messages, pending_log_message_t *, msg) { const int severity = msg->severity; - const int domain = msg->domain; + const log_domain_mask_t domain = msg->domain; for (lf = logfiles; lf; lf = lf->next) { if (! lf->callback || lf->seems_dead || ! (lf->severities->masks[SEVERITY_MASK_IDX(severity)] & domain)) { @@ -1377,7 +1377,7 @@ parse_log_severity_config(const char **cfg_ptr, if (!strcmp(domain, "*")) { domains = ~0u; } else { - int d; + log_domain_mask_t d; int negate=0; if (*domain == '~') { negate = 1; |