Skip to content
Snippets Groups Projects
Commit d384f5e1 authored by Sebastian Hahn's avatar Sebastian Hahn
Browse files

Fix compile warning on Panther.

Apparently Panther doesn't like comparing ints and enums
parent 182c5834
No related branches found
No related tags found
No related merge requests found
......@@ -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)",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment