mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
exec: Let address_space_unmap() use a boolean 'is_write' argument
The 'is_write' argument is either 0 or 1. Convert it to a boolean type. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
parent
b897a47450
commit
ae5883abec
2 changed files with 3 additions and 3 deletions
|
@ -2329,7 +2329,7 @@ void *address_space_map(AddressSpace *as, hwaddr addr,
|
|||
* @is_write: indicates the transfer direction
|
||||
*/
|
||||
void address_space_unmap(AddressSpace *as, void *buffer, hwaddr len,
|
||||
int is_write, hwaddr access_len);
|
||||
bool is_write, hwaddr access_len);
|
||||
|
||||
|
||||
/* Internal functions, part of the implementation of address_space_read. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue