VirtualBox

Changeset 40379 in vbox for trunk


Ignore:
Timestamp:
Mar 6, 2012 3:04:31 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76682
Message:

sample bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Samples/DrvStorageFilter.cpp

    r40282 r40379  
    183183{
    184184    PDRVSTORAGEFILTER pThis = RT_FROM_MEMBER(pInterface, DRVSTORAGEFILTER, IMedia);
    185     int rc = pThis->pIMediaBelow->pfnGetSize(pThis->pIMediaBelow);
    186     return rc;
     185    uint64_t cb = pThis->pIMediaBelow->pfnGetSize(pThis->pIMediaBelow);
     186    return cb;
    187187}
    188188
     
    191191{
    192192    PDRVSTORAGEFILTER pThis = RT_FROM_MEMBER(pInterface, DRVSTORAGEFILTER, IMedia);
    193     int rc = pThis->pIMediaBelow->pfnIsReadOnly(pThis->pIMediaBelow);
    194     return rc;
     193    bool fRc = pThis->pIMediaBelow->pfnIsReadOnly(pThis->pIMediaBelow);
     194    return fRc;
    195195}
    196196
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