diff options
| author | Reid Kleckner <reid@kleckner.net> | 2014-10-31 23:33:56 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2014-10-31 23:33:56 +0000 |
| commit | c311aba2474106673ad899b0e837fc6ec549d9a9 (patch) | |
| tree | 25d1bf5ad933be3a97822957e2626c547f7ab046 /llvm/lib/Support/MathExtras.cpp | |
| parent | 3ab672d7ef53de2c98ee22d035cd380be9a4e358 (diff) | |
| download | bcm5719-llvm-c311aba2474106673ad899b0e837fc6ec549d9a9.tar.gz bcm5719-llvm-c311aba2474106673ad899b0e837fc6ec549d9a9.zip | |
Silence a warning from MSVC "14" by making an enum unsigned
It says there is a narrowing conversion when we assign it to an unsigned
3 bit bitfield.
Also, use unsigned instead of size_t for the Size field of the struct in
question. Otherwise they won't run together in MSVC or clang-cl.
llvm-svn: 221019
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions

