[tor-commits] [metrics-lib/master] Fix a couple of compile warnings and a real bug.