summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-04 20:47:19 +0000
committerChris Lattner <sabre@nondot.org>2004-06-04 20:47:19 +0000
commit214e58ded52ae11377db133399ba6c41014f67d1 (patch)
tree4d2e1af560d778c6887d019f07830cc112b21b1f
parenta429db82bf27c82537770bd791f758288aefed36 (diff)
downloadbcm5719-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.h2
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();
OpenPOWER on IntegriCloud