malloc确保内存对齐

This commit is contained in:
ziyue 2021-12-29 20:57:35 +08:00
parent 15297a3ca3
commit 1a6a62a304

View File

@ -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;