diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-12 12:40:16 +0800 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 14:03:54 +0000 |
commit | 344b2729914d8f038d283b545744c61c79062a94 (patch) | |
tree | 9d096acf0501c8676e4562feb0b66eca2c9f0a72 /media | |
parent | fb8fcffe1d6d05c56d0a97cf2d874e6d72757134 (diff) | |
download | UXP-344b2729914d8f038d283b545744c61c79062a94.tar UXP-344b2729914d8f038d283b545744c61c79062a94.tar.gz UXP-344b2729914d8f038d283b545744c61c79062a94.tar.lz UXP-344b2729914d8f038d283b545744c61c79062a94.tar.xz UXP-344b2729914d8f038d283b545744c61c79062a94.zip |
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 a5c709d41..e9d001cec 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) |