Silenced a VC++ warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43276 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hartmut Kaiser
2007-10-24 00:06:31 +00:00
parent 3d251c626d
commit 4d40b50743
2 changed files with 2 additions and 2 deletions

View File

@ -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.