VirtualBox

Changeset 24188 in vbox


Ignore:
Timestamp:
Oct 30, 2009 1:11:46 PM (15 years ago)
Author:
vboxsync
Message:

VBoxGLSupportInfo: annoying gcc warning

File:
1 edited

Legend:

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

    r23746 r24188  
    9797#endif
    9898
    99 #define VBOXVHWA_GETPROCADDRESS(_c, _t, _n) ((_t)(_c).getProcAddress(QString(_n)))
     99#define VBOXVHWA_GETPROCADDRESS(_c, _t, _n) ((_t)(uintptr_t)(_c).getProcAddress(QString(_n)))
    100100
    101101#define VBOXVHWA_PFNINIT_SAME(_c, _t, _v, _rc) \
     
    103103        if((vboxgl##_v = VBOXVHWA_GETPROCADDRESS(_c, _t, "gl"#_v)) == NULL) \
    104104        { \
    105             VBOXQGLLOG(("ERROR: '%s' function is not found\n", "gl"#_v));\
     105            VBOXQGLLOG(("ERROR: '%s' function not found\n", "gl"#_v));\
    106106            AssertBreakpoint(); \
    107107            if((vboxgl##_v = VBOXVHWA_GETPROCADDRESS(_c, _t, "gl"#_v"ARB")) == NULL) \
    108108            { \
    109                 VBOXQGLLOG(("ERROR: '%s' function is not found\n", "gl"#_v"ARB"));\
     109                VBOXQGLLOG(("ERROR: '%s' function not found\n", "gl"#_v"ARB"));\
    110110                AssertBreakpoint(); \
    111111                if((vboxgl##_v = VBOXVHWA_GETPROCADDRESS(_c, _t, "gl"#_v"EXT")) == NULL) \
    112112                { \
    113                     VBOXQGLLOG(("ERROR: '%s' function is not found\n", "gl"#_v"EXT"));\
     113                    VBOXQGLLOG(("ERROR: '%s' function not found\n", "gl"#_v"EXT"));\
    114114                    AssertBreakpoint(); \
    115115                    (_rc)++; \
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