Fix a crash when comparing GIBaseInfo to an int