VirtualBox

Changeset 146 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jan 18, 2007 3:58:29 PM (18 years ago)
Author:
vboxsync
Message:

64-bit.

Location:
trunk/src/VBox/Frontends/VBoxBFE
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp

    r1 r146  
    387387    if (mpDrv)
    388388    {
    389         mFramebuffer->getAddress ((ULONG*)&mpDrv->Connector.pu8Data);
     389        mFramebuffer->getAddress ((uintptr_t *)&mpDrv->Connector.pu8Data);
    390390        mFramebuffer->getLineSize ((ULONG*)&mpDrv->Connector.cbScanline);
    391391        mFramebuffer->getColorDepth ((ULONG*)&mpDrv->Connector.cBits);
     
    403403    if (mpDrv)
    404404    {
    405         mFramebuffer->getAddress ((ULONG*)&mpDrv->Connector.pu8Data);
     405        mFramebuffer->getAddress ((uintptr_t *)&mpDrv->Connector.pu8Data);
    406406        mFramebuffer->getColorDepth ((ULONG*)&mpDrv->Connector.cBits);
    407407    }
  • trunk/src/VBox/Frontends/VBoxBFE/Framebuffer.h

    r1 r146  
    4040    virtual HRESULT Lock() = 0;
    4141    virtual HRESULT Unlock() = 0;
    42     virtual HRESULT getAddress(ULONG *address) = 0;
     42    virtual HRESULT getAddress(uintptr_t *address) = 0;
    4343    virtual HRESULT getColorDepth(ULONG *colorDepth) = 0;
    4444    virtual HRESULT getLineSize(ULONG *lineSize) = 0;
  • trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.cpp

    r1 r146  
    317317             * Decode event parameters.
    318318             */
    319             #define DECODEX(ev) ((int)(ev)->user.data1 >> 16)
    320             #define DECODEY(ev) ((int)(ev)->user.data1 & 0xFFFF)
    321             #define DECODEW(ev) ((int)(ev)->user.data2 >> 16)
    322             #define DECODEH(ev) ((int)(ev)->user.data2 & 0xFFFF)
     319            #define DECODEX(ev) ((intptr_t)(ev)->user.data1 >> 16)
     320            #define DECODEY(ev) ((intptr_t)(ev)->user.data1 & 0xFFFF)
     321            #define DECODEW(ev) ((intptr_t)(ev)->user.data2 >> 16)
     322            #define DECODEH(ev) ((intptr_t)(ev)->user.data2 & 0xFFFF)
    323323            int x = DECODEX(ev);
    324324            int y = DECODEY(ev);
  • trunk/src/VBox/Frontends/VBoxBFE/SDLFramebuffer.cpp

    r128 r146  
    162162 * @param   address Pointer to result variable.
    163163 */
    164 HRESULT SDLFramebuffer::getAddress(ULONG *address)
     164HRESULT SDLFramebuffer::getAddress(uintptr_t *address)
    165165{
    166166    LogFlow(("SDLFramebuffer::GetAddress\n"));
  • trunk/src/VBox/Frontends/VBoxBFE/SDLFramebuffer.h

    r1 r146  
    4747    virtual HRESULT Lock();
    4848    virtual HRESULT Unlock();
    49     virtual HRESULT getAddress(ULONG *address);
     49    virtual HRESULT getAddress(uintptr_t *address);
    5050    virtual HRESULT getColorDepth(ULONG *colorDepth);
    5151    virtual HRESULT getLineSize(ULONG *lineSize);
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