diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-05-18 20:36:36 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-05-26 08:35:51 -0700 |
commit | 4121f4b38e976641ee66ad52567f6f178a8f2048 (patch) | |
tree | cfd479061f4c4d706620b4de471325ec70bdd347 /include | |
parent | 4045f49cd4bba9c7e1d531cb805177deb5079147 (diff) | |
download | qemu-4121f4b38e976641ee66ad52567f6f178a8f2048.zip qemu-4121f4b38e976641ee66ad52567f6f178a8f2048.tar.gz qemu-4121f4b38e976641ee66ad52567f6f178a8f2048.tar.bz2 |
exec/memory: Use correct type size
Use uint8_t for (unsigned) byte.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210518183655.1711377-7-philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/exec/memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/memory.h b/include/exec/memory.h index c8b9088..175d715 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -2305,7 +2305,7 @@ static inline uint8_t address_space_ldub_cached(MemoryRegionCache *cache, } static inline void address_space_stb_cached(MemoryRegionCache *cache, - hwaddr addr, uint32_t val, MemTxAttrs attrs, MemTxResult *result) + hwaddr addr, uint8_t val, MemTxAttrs attrs, MemTxResult *result) { assert(addr < cache->len); if (likely(cache->ptr)) { |