Fix compilation warning in compiler-rt.

error: width of bit-field 'allocated' (8 bits) exceeds the width of
its type; value will be truncated to 1 bit [-Werror,-Wbitfield-width]

llvm-svn: 247840
This commit is contained in:
Evgeniy Stepanov 2015-09-16 19:54:36 +00:00
parent 6569522f4b
commit 10c9ea51a0

View File

@ -26,7 +26,7 @@ extern "C" void *memset(void *ptr, int value, uptr num);
namespace __lsan {
struct ChunkMetadata {
bool allocated : 8; // Must be first.
u8 allocated : 8; // Must be first.
ChunkTag tag : 2;
uptr requested_size : 54;
u32 stack_trace_id;