mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
Fix compile warning on Panther.
Apparently Panther doesn't like comparing ints and enums
This commit is contained in:
parent
182c583497
commit
d384f5e1ed
1 changed files with 1 additions and 1 deletions
|
@ -1516,7 +1516,7 @@ networkstatus_set_current_consensus(const char *consensus,
|
|||
goto done;
|
||||
}
|
||||
|
||||
if (c->flavor != flav) {
|
||||
if ((int)c->flavor != flav) {
|
||||
/* This wasn't the flavor we thought we were getting. */
|
||||
if (require_flavor) {
|
||||
log_warn(LD_DIR, "Got consensus with unexpected flavor %s (wanted %s)",
|
||||
|
|
Loading…
Add table
Reference in a new issue