mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
hw/core/cpu: Use size_t for memory_rw_debug len argument
Match the prototype of cpu_memory_rw_debug(). Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250325224403.4011975-4-richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
f32d678252
commit
581ca58246
3 changed files with 3 additions and 3 deletions
|
@ -389,7 +389,7 @@ void dump_mmu(CPUSPARCState *env)
|
|||
* that the sparc ABI is followed.
|
||||
*/
|
||||
int sparc_cpu_memory_rw_debug(CPUState *cs, vaddr address,
|
||||
uint8_t *buf, int len, bool is_write)
|
||||
uint8_t *buf, size_t len, bool is_write)
|
||||
{
|
||||
CPUSPARCState *env = cpu_env(cs);
|
||||
target_ulong addr = address;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue