mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 03:44:59 +00:00
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:
parent
6569522f4b
commit
10c9ea51a0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user