From 775b08d9e83b6b685fc9d14031579bb73b036ce9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 4 Jun 2004 20:47:19 +0000 Subject: [PATCH] Fix a *really* dumb warning on VC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14025 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Support/TypeInfo.h | 2 +- include/llvm/Support/TypeInfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Support/TypeInfo.h b/include/Support/TypeInfo.h index 5d9035076f3..e23f906afa7 100644 --- a/include/Support/TypeInfo.h +++ b/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(); diff --git a/include/llvm/Support/TypeInfo.h b/include/llvm/Support/TypeInfo.h index 5d9035076f3..e23f906afa7 100644 --- a/include/llvm/Support/TypeInfo.h +++ b/include/llvm/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(); -- 2.34.1