malloc确保内存对齐
This commit is contained in:
parent
15297a3ca3
commit
1a6a62a304
|
|
@ -403,7 +403,7 @@ public:
|
|||
static constexpr uint32_t kMagic = 0xFEFDFCFB;
|
||||
uint32_t magic;
|
||||
uint32_t size;
|
||||
uint8_t type;
|
||||
uint32_t type;
|
||||
MemAllocInfo *alloc_info;
|
||||
char ptr;
|
||||
}PACKED;
|
||||
|
|
|
|||
Loading…
Reference in New Issue