diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2012-09-09 20:34:25 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2012-09-09 20:34:25 +0000 |
| commit | cbb37111d76fb9c6abafa24b71e83e0590e4054b (patch) | |
| tree | 87571774c6cd0f5eea8e48357131a066b21d1c9c | |
| parent | 2b11eb072992994d631ec5de9ad2fa77dad31e7c (diff) | |
| download | bcm5719-llvm-cbb37111d76fb9c6abafa24b71e83e0590e4054b.tar.gz bcm5719-llvm-cbb37111d76fb9c6abafa24b71e83e0590e4054b.zip | |
Fixing a type width warning with MSVC.
llvm-svn: 163481
| -rw-r--r-- | llvm/include/llvm/TableGen/Record.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/TableGen/Record.h b/llvm/include/llvm/TableGen/Record.h index c7baaeb9d90..adb1a77ae42 100644 --- a/llvm/include/llvm/TableGen/Record.h +++ b/llvm/include/llvm/TableGen/Record.h @@ -689,7 +689,7 @@ public: } virtual Init *getBit(unsigned Bit) const { - return BitInit::get((Value & (1 << Bit)) != 0); + return BitInit::get((Value & (1ULL << Bit)) != 0); } }; |

