diff options
| author | Markus Armbruster <armbru@redhat.com> | 2022-11-23 14:38:11 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2022-12-14 16:19:35 +0100 |
| commit | 3d558330adec7233da6c48c5e8584eb176fb77d7 (patch) | |
| tree | 74b9faf5861c62550fb09356ec73583d8bb42f21 /target/i386/hax/hax-all.c | |
| parent | ea3a008d2d9ced9c4f93871c823baee237047f93 (diff) | |
| download | focaccia-qemu-3d558330adec7233da6c48c5e8584eb176fb77d7.tar.gz focaccia-qemu-3d558330adec7233da6c48c5e8584eb176fb77d7.zip | |
Drop more useless casts from void * to pointer
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20221123133811.1398562-1-armbru@redhat.com>
Diffstat (limited to 'target/i386/hax/hax-all.c')
| -rw-r--r-- | target/i386/hax/hax-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/hax/hax-all.c b/target/i386/hax/hax-all.c index b185ee8de4..b7fb5385b2 100644 --- a/target/i386/hax/hax-all.c +++ b/target/i386/hax/hax-all.c @@ -388,7 +388,7 @@ static int hax_handle_io(CPUArchState *env, uint32_t df, uint16_t port, MemTxAttrs attrs = { 0 }; if (!df) { - ptr = (uint8_t *) buffer; + ptr = buffer; } else { ptr = buffer + size * count - size; } |