On Sun, Feb 01, 2026 at 03:27:46PM +0100, Philippe Mathieu-Daudé wrote:
> > @@ -221,7 +221,7 @@ static void vmmouse_data(VMMouseState *s, uint32_t 
> > *data, uint32_t size)
> >   static uint32_t vmmouse_ioport_read(void *opaque, uint32_t addr)
> >   {
> >       VMMouseState *s = opaque;
> > -    uint32_t data[6];
> > +    target_ulong data[6];
> 
> Could we use uint64_t instead (also in the callees) and let
> the implicit 32-bit truncation when assigning env->regs[] on
> 32-bit guests?

That would work, is there a reason that would be preferable?

-- 
Josh

Reply via email to