- Timestamp:
- Dec 6, 2010 5:17:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r34764 r34765 301 301 TRACE_LOG("name=%s, HDisplay=%d, VDisplay=%d, x=%d, y=%d\n", adjusted_mode->name, 302 302 adjusted_mode->HDisplay, adjusted_mode->VDisplay, x, y); 303 VBOXSetMode(crtc->scrn, (uint 32_t)crtc->driver_private,303 VBOXSetMode(crtc->scrn, (uintptr_t)crtc->driver_private, 304 304 adjusted_mode->HDisplay, adjusted_mode->VDisplay, x, y); 305 305 /* Don't remember any modes set while we are seamless, as they are … … 1022 1022 /* Setup our virtual CRTCs. */ 1023 1023 pVBox->paCrtcs[i] = xf86CrtcCreate(pScrn, &VBOXCrtcFuncs); 1024 pVBox->paCrtcs[i]->driver_private = (void *) i;1024 pVBox->paCrtcs[i]->driver_private = (void *)(uintptr_t)i; 1025 1025 1026 1026 /* Set up our virtual outputs. */
Note:
See TracChangeset
for help on using the changeset viewer.