Fix some invalid comparisons (GCC compiler errors).