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>
This commit is contained in:
parent
4045f49cd4
commit
4121f4b38e
@ -2305,7 +2305,7 @@ static inline uint8_t address_space_ldub_cached(MemoryRegionCache *cache,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline void address_space_stb_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);
|
assert(addr < cache->len);
|
||||||
if (likely(cache->ptr)) {
|
if (likely(cache->ptr)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user