VirtualBox

Changeset 86592 in vbox for trunk


Ignore:
Timestamp:
Oct 15, 2020 2:21:21 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140960
Message:

3D: Fix for 'warning C4018: '<' : signed/unsigned mismatch' in DevVGA-SVGA3d-hlp.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-hlp.cpp

    r86589 r86592  
    356356
    357357        /* Must not be greater than the number of remaining tokens. */
    358         ASSERT_GUEST_RETURN(cInstLen < paTokensEnd - pToken, VERR_PARSE_ERROR);
     358        ASSERT_GUEST_RETURN(cInstLen < (uintptr_t)(paTokensEnd - pToken), VERR_PARSE_ERROR);
    359359
    360360        /* Stop parsing if this is the SVGA3DOP_END instruction. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette