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 | 4d40b507433085952710f043d322103eafd4f28b (patch) | |
| tree | 6df739ce0cc6a97a4816b70b44ef01b9c798ebb7 /include/llvm/Bitcode/Serialization.h | |
| parent | 3d251c626d29bfef4d05735f04d328403e9ac463 (diff) | |
| download | external_llvm-4d40b507433085952710f043d322103eafd4f28b.zip external_llvm-4d40b507433085952710f043d322103eafd4f28b.tar.gz external_llvm-4d40b507433085952710f043d322103eafd4f28b.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. |
