Fix two clang warnings, and a _weird_ comparison