VirtualBox

Changeset 41002 in vbox


Ignore:
Timestamp:
Apr 20, 2012 7:13:07 AM (13 years ago)
Author:
vboxsync
Message:

VBoxSDL: gcc warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp

    r40282 r41002  
    466466    event.user.type  = SDL_USER_EVENT_UPDATERECT;
    467467    // 16 bit is enough for coordinates
    468     event.user.data1 = (void*)(x << 16 | y);
    469     event.user.data2 = (void*)(w << 16 | h);
     468    event.user.data1 = (void*)(uintptr_t)(x << 16 | y);
     469    event.user.data2 = (void*)(uintptr_t)(w << 16 | h);
    470470    PushNotifyUpdateEvent(&event);
    471471#else /* !VBOXSDL_WITH_X11 */
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