VirtualBox

Changeset 31624 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Aug 13, 2010 12:31:22 AM (14 years ago)
Author:
vboxsync
Message:

Runtime: cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/tar.cpp

    r31623 r31624  
    156156    {
    157157        if (pfnProgressCallback)
    158             pfnProgressCallback(100.0 / cbOverallSize * cbOverallWritten, pvUser);
     158            pfnProgressCallback((unsigned)(100.0 / cbOverallSize * cbOverallWritten), pvUser);
    159159        /* Finished already? */
    160160        if (cbAllWritten == cbToCopy)
     
    270270            {
    271271                if (pfnProgressCallback)
    272                     pfnProgressCallback(100.0 / cbOverallSize * cbOverallWritten, pvUser);
     272                    pfnProgressCallback((unsigned)(100.0 / cbOverallSize * cbOverallWritten), pvUser);
    273273                if (cbAllWritten >= cbSize)
    274274                    break;
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