VirtualBox

Changeset 78191 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 18, 2019 12:20:31 AM (6 years ago)
Author:
vboxsync
Message:

Some build fixes

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_unpack.h

    r78190 r78191  
    126126    {
    127127        pState->rcUnpack = VERR_BUFFER_OVERFLOW;
    128         return SIZE_MAX;
     128        return ~(size_t)0;
    129129    }
    130130
     
    141141    { \
    142142        size_t cchStr = crUnpackAcccessChkStrUpdate((a_pState), (a_pszStr), &int_cbAccessVerified); \
    143         if (RT_UNLIKELY(cchStr == SIZE_MAX)) \
     143        if (RT_UNLIKELY(cchStr == ~(size_t)0)) \
    144144            return; \
    145145    } \
     
    165165    do \
    166166    { \
    167         if (RT_UNLIKELY((a_pState)->cbUnpackDataLeft < (delta))) \
     167        if (RT_UNLIKELY((a_pState)->cbUnpackDataLeft < (size_t)(delta))) \
    168168        { \
    169169          (a_pState)->rcUnpack = VERR_BUFFER_OVERFLOW; \
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.cpp

    r78190 r78191  
    4545PFNCRHGSMICMDCOMPLETION g_pfnCrHgsmiCompletion = NULL;
    4646#endif
    47 
    48 /**
    49  * \mainpage CrServerLib
    50  *
    51  * \section CrServerLibIntroduction Introduction
    52  *
    53  * Chromium consists of all the top-level files in the cr
    54  * directory.  The core module basically takes care of API dispatch,
    55  * and OpenGL state management.
    56  */
    5747
    5848
  • trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_arrays.cpp

    r78190 r78191  
    99#include "unpacker.h"
    1010#include "cr_glstate.h"
    11 /**
    12  * \mainpage Unpacker
    13  *
    14  * \section UnpackerIntroduction Introduction
    15  *
    16  * Chromium consists of all the top-level files in the cr
    17  * directory.  The unpacker module basically takes care of API dispatch,
    18  * and OpenGL state management.
    19  *
    20  */
     11
    2112
    2213void crUnpackExtendVertexPointer(PCrUnpackerState pState)
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