Fix a *really* dumb warning on VC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14025 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-06-04 20:47:19 +00:00
parent 43714d11ea
commit 775b08d9e8
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ struct TypeInfo {
// Compatibility functions
bool before(const TypeInfo &rhs) const {
return Info->before(*rhs.Info);
return Info->before(*rhs.Info) != 0;
}
const char *getClassName() const {
return Info->name();

View File

@ -36,7 +36,7 @@ struct TypeInfo {
// Compatibility functions
bool before(const TypeInfo &rhs) const {
return Info->before(*rhs.Info);
return Info->before(*rhs.Info) != 0;
}
const char *getClassName() const {
return Info->name();