VirtualBox

Changeset 85232 in vbox for trunk/src/VBox/Main/src-all


Ignore:
Timestamp:
Jul 11, 2020 4:29:36 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139209
Message:

Main/ExtPackManagerImpl.cpp: Fixed error accumulation bug in ExtPackManager::initExtPackManager() and a few sign warnings. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp

    r82968 r85232  
    19181918        eik.getVirtualBoxErrorInfo(errorInfo);
    19191919    }
    1920     return pProgressControl->NotifyComplete(uResultCode, errorInfo);
     1920    return pProgressControl->NotifyComplete((LONG)uResultCode, errorInfo);
    19211921}
    19221922
     
    22172217                            m->cUpdate++;
    22182218                        }
    2219                         else if (SUCCEEDED(rc))
     2219                        else if (SUCCEEDED(hrc))
    22202220                            hrc = hrc2;
    22212221                    }
     
    25982598        {
    25992599            *pszSuccessInd = '\0';
    2600             offStdErrBuf  = pszSuccessInd - pszStdErrBuf;
     2600            offStdErrBuf  = (size_t)(pszSuccessInd - pszStdErrBuf);
    26012601        }
    26022602        else if (   ProcStatus.enmReason == RTPROCEXITREASON_NORMAL
     
    33563356 * library path.
    33573357 *
    3358  * @returns S_OK if a path is returned, COM error status and message return if
    3359  *          not.
     3358 * @returns VINF_SUCCESS if a path is returned, VBox error status and message
     3359 *          return if not.
    33603360 * @param   a_pstrExtPack       The extension pack.
    33613361 * @param   a_pstrVrdeLibrary   Where to return the path.
     
    33773377    }
    33783378
    3379     return hrc;
     3379    return Global::vboxStatusCodeFromCOM(hrc);
    33803380}
    33813381
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