src/test/test_connection.c:620:38: warning: cast to smaller integer type 'consensus_flavor_t' from 'void *'
When compiling Tor, I got this warning:
src/test/test_connection.c:620:38: warning: cast to smaller integer type 'consensus_flavor_t' from 'void *' [-Wvoid-pointer-to-enum-cast]
consensus_flavor_t usable_flavor = (consensus_flavor_t)tc->setup_data;
We should investigate this.