VirtualBox

Changeset 47576 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Aug 7, 2013 10:13:17 AM (11 years ago)
Author:
vboxsync
Message:

Devices,Main: another multi-touch build fix.

File:
1 edited

Legend:

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

    r47574 r47576  
    14741474        uint32_t u32Lo = RT_LO_U32(pau64Contacts[i]);
    14751475        uint32_t u32Hi = RT_HI_U32(pau64Contacts[i]);
    1476         paNewContacts[i].x      = RT_LO_U16(u32Lo);
    1477         paNewContacts[i].y      = RT_HI_U16(u32Lo);
     1476        paNewContacts[i].x      = (uint16_t)u32Lo;
     1477        paNewContacts[i].y      = (uint16_t)(u32Lo >> 16);
    14781478        paNewContacts[i].id     = RT_BYTE1(u32Hi);
    14791479        paNewContacts[i].flags  = RT_BYTE2(u32Hi) & (MT_CONTACT_F_IN_CONTACT | MT_CONTACT_F_IN_RANGE);
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