VirtualBox

Changeset 78265 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 23, 2019 6:56:56 PM (6 years ago)
Author:
vboxsync
Message:

Config.kmk,GuestHost\OpenGL,HostServices\SharedOpenGL: Fix a bunch of compiler warnings and enable them again [build fixes]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_shaders.cpp

    r78264 r78265  
    448448    CHECK_BUFFER_SIZE_STATIC_LAST(pState, 8, GLuint);
    449449
    450     int packet_length = READ_DATA(pState, 0, int);
     450    unsigned packet_length = (unsigned)READ_DATA(pState, 0, int);
    451451    GLuint program = READ_DATA(pState, 8, GLuint);
    452452    const char *name = DATA_POINTER(pState, 12, const char);
     
    469469    CHECK_BUFFER_SIZE_STATIC_LAST(pState, 8, GLuint);
    470470
    471     int packet_length = READ_DATA(pState, 0, int);
     471    unsigned packet_length = (unsigned)READ_DATA(pState, 0, int);
    472472    GLuint program = READ_DATA(pState, 8, GLuint);
    473473    const char *name = DATA_POINTER(pState, 12, const char);
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