VirtualBox

Ignore:
Timestamp:
Nov 15, 2009 1:08:53 PM (15 years ago)
Author:
vboxsync
Message:

VBoxFBOverlay.cpp: fixed signed / unsigned warning caused by the framebuffer width() and height() methods returning ulong. The really confusing part is how they store the value as signed int internally...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp

    r24648 r24668  
    52525252            && mContainer->bitsPerPixel() == mpOverlayWidget->vboxBitsPerPixel()
    52535253            && mContainer->bytesPerLine() == mpOverlayWidget->vboxBytesPerLine()
    5254             && mContainer->width() == mpOverlayWidget->vboxFbWidth()
    5255             && mContainer->height() == mpOverlayWidget->vboxFbHeight())
     5254            && (int)mContainer->width() == mpOverlayWidget->vboxFbWidth()
     5255            && (int)mContainer->height() == mpOverlayWidget->vboxFbHeight())
    52565256    {
    52575257        return false;
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