VirtualBox

Ignore:
Timestamp:
Aug 1, 2016 12:51:52 PM (8 years ago)
Author:
vboxsync
Message:

GuestHost/OpenGL: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/blitter.cpp

    r62492 r62814  
    193193    }
    194194
    195     if (srcX >= pSrc->width)
     195    if ((GLuint)srcX >= pSrc->width)
    196196    {
    197197        WARN(("ups"));
     
    199199    }
    200200
    201     if (srcY >= pSrc->height)
     201    if ((GLuint)srcY >= pSrc->height)
    202202    {
    203203        WARN(("ups"));
     
    218218    int32_t UnscaledSrcHeight = UnscaledCopyRect.yBottom - UnscaledCopyRect.yTop;
    219219
    220     if (UnscaledSrcWidth + srcX > pSrc->width)
     220    if (UnscaledSrcWidth + srcX > (GLint)pSrc->width)
    221221        UnscaledSrcWidth = pSrc->width - srcX;
    222222
    223     if (UnscaledSrcHeight + srcY > pSrc->height)
     223    if (UnscaledSrcHeight + srcY > (GLint)pSrc->height)
    224224        UnscaledSrcHeight = pSrc->height - srcY;
    225225
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