commit | 02c9460a0a05f27e0501f9e64cdf24091e7d3579 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Apr 11 18:23:11 2014 -0700 |
committer | Andreas Gampe <agampe@google.com> | Fri Apr 11 22:41:46 2014 -0700 |
tree | 04cd19fe3d5cd641a48af0337a739e684c4dccf1 | |
parent | e2acb82a9449d0bbf993cda270f3519862ec571a [diff] |
BitSet32 64b compatibility fix Using __builtin_c{l,t}zl fails on 64b systems as unsigned long is 8B there. However, unsigned int is only guaranteed to be 2B. Introduce a check that should be optimized away by the compiler. Change-Id: I854d0817c6bb5ae13c257241240664bf8f1a7c8a