diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-04 20:47:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-04 20:47:19 +0000 |
commit | 214e58ded52ae11377db133399ba6c41014f67d1 (patch) | |
tree | 4d2e1af560d778c6887d019f07830cc112b21b1f | |
parent | a429db82bf27c82537770bd791f758288aefed36 (diff) | |
download | bcm5719-llvm-214e58ded52ae11377db133399ba6c41014f67d1.tar.gz bcm5719-llvm-214e58ded52ae11377db133399ba6c41014f67d1.zip |
Fix a *really* dumb warning on VC
llvm-svn: 14025
-rw-r--r-- | llvm/include/Support/TypeInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/Support/TypeInfo.h b/llvm/include/Support/TypeInfo.h index 5d9035076f3..e23f906afa7 100644 --- a/llvm/include/Support/TypeInfo.h +++ b/llvm/include/Support/TypeInfo.h @@ -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(); |