VirtualBox

Changeset 34765 in vbox for trunk/src


Ignore:
Timestamp:
Dec 6, 2010 5:17:15 PM (14 years ago)
Author:
vboxsync
Message:

Linux additions: warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r34764 r34765  
    301301    TRACE_LOG("name=%s, HDisplay=%d, VDisplay=%d, x=%d, y=%d\n", adjusted_mode->name,
    302302           adjusted_mode->HDisplay, adjusted_mode->VDisplay, x, y);
    303     VBOXSetMode(crtc->scrn, (uint32_t)crtc->driver_private,
     303    VBOXSetMode(crtc->scrn, (uintptr_t)crtc->driver_private,
    304304                adjusted_mode->HDisplay, adjusted_mode->VDisplay, x, y);
    305305    /* Don't remember any modes set while we are seamless, as they are
     
    10221022            /* Setup our virtual CRTCs. */
    10231023            pVBox->paCrtcs[i] = xf86CrtcCreate(pScrn, &VBOXCrtcFuncs);
    1024             pVBox->paCrtcs[i]->driver_private = (void *)i;
     1024            pVBox->paCrtcs[i]->driver_private = (void *)(uintptr_t)i;
    10251025
    10261026            /* Set up our virtual outputs. */
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