diff options
author | Hartmut Kaiser <hartmut.kaiser@gmail.com> | 2007-10-24 00:06:31 +0000 |
---|---|---|
committer | Hartmut Kaiser <hartmut.kaiser@gmail.com> | 2007-10-24 00:06:31 +0000 |
commit | fc44f052656c68258a5b330c94a6ab3b95160b8d (patch) | |
tree | 6df739ce0cc6a97a4816b70b44ef01b9c798ebb7 /include/llvm/Bitcode/Serialization.h | |
parent | 45d48d502e791095e115bf38394fe6d0108df0c7 (diff) | |
download | external_llvm-fc44f052656c68258a5b330c94a6ab3b95160b8d.zip external_llvm-fc44f052656c68258a5b330c94a6ab3b95160b8d.tar.gz external_llvm-fc44f052656c68258a5b330c94a6ab3b95160b8d.tar.bz2 |
Silenced a VC++ warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode/Serialization.h')
-rw-r--r-- | include/llvm/Bitcode/Serialization.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Bitcode/Serialization.h b/include/llvm/Bitcode/Serialization.h index 356a75c..eeaac4a 100644 --- a/include/llvm/Bitcode/Serialization.h +++ b/include/llvm/Bitcode/Serialization.h @@ -70,7 +70,7 @@ public: } uint64_t ReadInt(unsigned bits = 32); - bool ReadBool() { return ReadInt(1); } + bool ReadBool() { return ReadInt(1) ? true : false; } // FIXME: Substitute a better implementation which calculates the minimum // number of bits needed to serialize the enum. |