VirtualBox

Changeset 46084 in vbox


Ignore:
Timestamp:
May 15, 2013 12:02:15 AM (12 years ago)
Author:
vboxsync
Message:

try fix warning...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrMemory.cpp

    r46083 r46084  
     1
    12/* $Id$ */
    23/** @file
     
    224225                              PFNRTLDRRDRMEMREAD pfnRead, PFNRTLDRRDRMEMDTOR pfnDtor, void *pvUser)
    225226{
    226     AssertReturn((RTFOFF)cbImage < RTFOFF_MAX, VERR_INVALID_PARAMETER);
     227    AssertReturn(sizeof(cbImage) < sizeof(RTFOFF) || cbImage < RTFOFF_MAX, VERR_INVALID_PARAMETER);
    227228    AssertReturn((RTFOFF)cbImage > 0, VERR_INVALID_PARAMETER);
    228229
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