Fix compile time warning about pointer comparison.