VirtualBox

Changeset 63606 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 22, 2016 10:32:13 AM (8 years ago)
Author:
vboxsync
Message:

PDMIDISPLAYCONNECTOR: const ptr vs const data mismatch.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/DisplayImpl.h

    r63487 r63606  
    187187#endif
    188188
    189     int i_notifyCroglResize(const PVBVAINFOVIEW pView, const PVBVAINFOSCREEN pScreen, void *pvVRAM);
     189    int i_notifyCroglResize(PCVBVAINFOVIEW pView, PCVBVAINFOSCREEN pScreen, void *pvVRAM);
    190190
    191191    int  i_saveVisibleRegion(uint32_t cRect, PRTRECT pRect);
     
    355355    static DECLCALLBACK(void)  i_displayVBVAUpdateBegin(PPDMIDISPLAYCONNECTOR pInterface, unsigned uScreenId);
    356356    static DECLCALLBACK(void)  i_displayVBVAUpdateProcess(PPDMIDISPLAYCONNECTOR pInterface, unsigned uScreenId,
    357                                                           const PVBVACMDHDR pCmd, size_t cbCmd);
     357                                                          PCVBVACMDHDR pCmd, size_t cbCmd);
    358358    static DECLCALLBACK(void)  i_displayVBVAUpdateEnd(PPDMIDISPLAYCONNECTOR pInterface, unsigned uScreenId, int32_t x, int32_t y,
    359359                                                      uint32_t cx, uint32_t cy);
    360     static DECLCALLBACK(int)   i_displayVBVAResize(PPDMIDISPLAYCONNECTOR pInterface, const PVBVAINFOVIEW pView,
    361                                                    const PVBVAINFOSCREEN pScreen, void *pvVRAM,
     360    static DECLCALLBACK(int)   i_displayVBVAResize(PPDMIDISPLAYCONNECTOR pInterface, PCVBVAINFOVIEW pView,
     361                                                   PCVBVAINFOSCREEN pScreen, void *pvVRAM,
    362362                                                   bool fResetInputMapping);
    363363    static DECLCALLBACK(int)   i_displayVBVAMousePointerShape(PPDMIDISPLAYCONNECTOR pInterface, bool fVisible, bool fAlpha,
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r63563 r63606  
    839839/////////////////////////////////////////////////////////////////////////////
    840840
    841 int Display::i_notifyCroglResize(const PVBVAINFOVIEW pView, const PVBVAINFOSCREEN pScreen, void *pvVRAM)
     841int Display::i_notifyCroglResize(PCVBVAINFOVIEW pView, PCVBVAINFOSCREEN pScreen, void *pvVRAM)
    842842{
    843843    RT_NOREF(pView);
     
    38763876
    38773877DECLCALLBACK(void) Display::i_displayVBVAUpdateProcess(PPDMIDISPLAYCONNECTOR pInterface, unsigned uScreenId,
    3878                                                        const PVBVACMDHDR pCmd, size_t cbCmd)
     3878                                                       PCVBVACMDHDR pCmd, size_t cbCmd)
    38793879{
    38803880    LogFlowFunc(("uScreenId %d pCmd %p cbCmd %d, @%d,%d %dx%d\n", uScreenId, pCmd, cbCmd, pCmd->x, pCmd->y, pCmd->w, pCmd->h));
     
    39523952
    39533953    /** @todo new SendUpdate entry which can get a separate cmd header or coords. */
    3954     pThis->mParent->i_consoleVRDPServer()->SendUpdate(uScreenId, pCmd, (uint32_t)cbCmd);
     3954    pThis->mParent->i_consoleVRDPServer()->SendUpdate(uScreenId, pHdrUnconst, (uint32_t)cbCmd);
    39553955
    39563956    *pHdrUnconst = hdrSaved;
     
    39753975
    39763976#ifdef DEBUG_sunlover
    3977 static void logVBVAResize(const PVBVAINFOVIEW pView, const PVBVAINFOSCREEN pScreen, const DISPLAYFBINFO *pFBInfo)
     3977static void logVBVAResize(PCVBVAINFOVIEW pView, PCVBVAINFOSCREEN pScreen, const DISPLAYFBINFO *pFBInfo)
    39783978{
    39793979    LogRel(("displayVBVAResize: [%d] %s\n"
     
    40404040#endif /* DEBUG_sunlover */
    40414041
    4042 DECLCALLBACK(int) Display::i_displayVBVAResize(PPDMIDISPLAYCONNECTOR pInterface, const PVBVAINFOVIEW pView,
    4043                                                const PVBVAINFOSCREEN pScreen, void *pvVRAM, bool fResetInputMapping)
     4042DECLCALLBACK(int) Display::i_displayVBVAResize(PPDMIDISPLAYCONNECTOR pInterface, PCVBVAINFOVIEW pView,
     4043                                               PCVBVAINFOSCREEN pScreen, void *pvVRAM, bool fResetInputMapping)
    40444044{
    40454045    LogRelFlowFunc(("pScreen %p, pvVRAM %p\n", pScreen, pvVRAM));
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