diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-12 12:40:16 +0800 |
---|---|---|
committer | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-14 16:32:46 +0800 |
commit | 5cfe1d90207a7407f40b783722d8bb9f89608b6b (patch) | |
tree | d34d9f2c078ddebee458a505a2adf5bf15ec4bdf /media | |
parent | 088685a828f7e6477e88c412a56508b474ebe8b4 (diff) | |
download | uxp-5cfe1d90207a7407f40b783722d8bb9f89608b6b.tar.gz |
Issue #1542 - [mtransport] Fix unaligned memory allocation in r_memory
Unaligend memory access can't work on RISC.
Diffstat (limited to 'media')
-rw-r--r-- | media/mtransport/third_party/nrappkit/src/util/libekr/r_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/mtransport/third_party/nrappkit/src/util/libekr/r_memory.c b/media/mtransport/third_party/nrappkit/src/util/libekr/r_memory.c index a5c709d413..e9d001cec1 100644 --- a/media/mtransport/third_party/nrappkit/src/util/libekr/r_memory.c +++ b/media/mtransport/third_party/nrappkit/src/util/libekr/r_memory.c @@ -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) |