VirtualBox

Changeset 22903 in vbox


Ignore:
Timestamp:
Sep 10, 2009 11:03:17 AM (15 years ago)
Author:
vboxsync
Message:

DevPS2.cpp: use SSM and avoid silly casts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/DevPS2.cpp

    r22858 r22903  
    10411041    if (version_id > 2)
    10421042    {
    1043         qemu_get_be32s(f, (uint32_t *)&s->mouse_dw);
    1044         qemu_get_be32s(f, (uint32_t *)&s->mouse_flags);
     1043        SSMR3GetS32(f, &s->mouse_dw);
     1044        SSMR3GetS32(f, &s->mouse_flags);
    10451045    }
    10461046    qemu_get_8s(f, &s->mouse_buttons);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette