commit | 0d1965d8c2d9bf99e18b516b9e7fdcdaca9c4746 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Mon Jul 28 15:02:42 2014 |
committer | Marshall Clow <mclow.lists@gmail.com> | Mon Jul 28 15:02:42 2014 |
tree | 5b20a1bb6c8b22f13a061aefb3eb4e15da263f50 | |
parent | 0c6d1a88de31dac8034b85ef1f6f1d8f5f14a065 [diff] |
Fix PR#20471. Add a cast in __align_it to ensure that the bit twiddling is done at the correct size. A better solution, IMHO, would be to declare vector<bool>::__bits_per_word as 'size_type', rather than 'unsigned', but that's a possible ABI change. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@214088 91177308-0d34-0410-b5e6-96231b3b80d8