VirtualBox

Changeset 33575 in vbox


Ignore:
Timestamp:
Oct 28, 2010 4:55:29 PM (14 years ago)
Author:
vboxsync
Message:

build fix

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxVideo.h

    r33222 r33575  
    12511251#define VBOXVDMACMD_BODY(_pCmd, _t) ( (_t*)(((uint8_t*)(_pCmd)) + VBOXVDMACMD_HEADER_SIZE()) )
    12521252#define VBOXVDMACMD_FROM_BODY(_pCmd) ( (VBOXVDMACMD*)(((uint8_t*)(_pCmd)) - VBOXVDMACMD_HEADER_SIZE()) )
    1253 #define VBOXVDMACMD_BODY_FIELD_OFFSET(_ot, _t, _f) ( (_ot)( VBOXVDMACMD_BODY(0, uint8_t) + RT_OFFSETOF(_t, _f) ) )
     1253#define VBOXVDMACMD_BODY_FIELD_OFFSET(_ot, _t, _f) ( (_ot)(uintptr_t)( VBOXVDMACMD_BODY(0, uint8_t) + RT_OFFSETOF(_t, _f) ) )
    12541254
    12551255typedef struct VBOXVDMACMD_DMA_PRESENT_BLT
  • trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp

    r33574 r33575  
    511511    }
    512512
     513#ifdef VBOX_VDMA_WITH_WORKERTHREAD
    513514    int iView = 0;
    514515    /* @todo: fixme: check if update is needed and get iView */
    515516    vboxVDMANotifyPrimaryUpdate (pVdma->pVGAState, iView, &updateRectl);
     517#endif
    516518
    517519    return cbBlt;
     
    646648                if (cbBlt >= 0)
    647649                {
    648                     if (cbBlt == cbBuffer)
     650                    if ((uint32_t)cbBlt == cbBuffer)
    649651                        return VINF_SUCCESS;
    650652                    else
     
    666668                if (cbTransfer >= 0)
    667669                {
    668                     if (cbTransfer == cbBuffer)
     670                    if ((uint32_t)cbTransfer == cbBuffer)
    669671                        return VINF_SUCCESS;
    670672                    else
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