mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #1542 - [mtransport] Fix unaligned memory allocation in r_memory
Unaligend memory access can't work on RISC.
This commit is contained in:
parent
cc24eccfce
commit
076a13bb2d
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ typedef struct r_malloc_chunk_ {
|
|||
#endif
|
||||
UCHAR type;
|
||||
UINT4 size;
|
||||
UCHAR memory[1];
|
||||
UINT8 memory[1];
|
||||
} r_malloc_chunk;
|
||||
|
||||
#define CHUNK_MEMORY_OFFSET offsetof(struct r_malloc_chunk_, memory)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue