VirtualBox

Changeset 107643 in vbox


Ignore:
Timestamp:
Jan 10, 2025 1:13:56 PM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166733
Message:

src-client/GuestFileImpl.cpp: Fixed warnings found by Parfait (change of signedness on implicit conversion). jiraref:VBP-1424

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestFileImpl.cpp

    r107381 r107643  
    415415    /* Prepare HGCM call. */
    416416    VBOXHGCMSVCPARM paParms[4];
    417     int i = 0;
     417    unsigned i = 0;
    418418    HGCMSvcSetU32(&paParms[i++], pEvent->ContextID());
    419419    HGCMSvcSetU32(&paParms[i++], mObjectID /* Guest file ID */);
     
    866866    /* Prepare HGCM call. */
    867867    VBOXHGCMSVCPARM paParms[8];
    868     int i = 0;
     868    unsigned i = 0;
    869869    HGCMSvcSetU32(&paParms[i++], pEvent->ContextID());
    870870    HGCMSvcSetPv(&paParms[i++], (void*)mData.mOpenInfo.mFilename.c_str(),
     
    948948    /* Prepare HGCM call. */
    949949    VBOXHGCMSVCPARM paParms[4];
    950     int i = 0;
     950    unsigned i = 0;
    951951    HGCMSvcSetU32(&paParms[i++], pEvent->ContextID());
    952952    HGCMSvcSetU32(&paParms[i++], mObjectID /* File handle */);
     
    10181018    /* Prepare HGCM call. */
    10191019    VBOXHGCMSVCPARM paParms[4];
    1020     int i = 0;
     1020    unsigned i = 0;
    10211021    HGCMSvcSetU32(&paParms[i++], pEvent->ContextID());
    10221022    HGCMSvcSetU32(&paParms[i++], mObjectID /* File handle */);
     
    10871087    /* Prepare HGCM call. */
    10881088    VBOXHGCMSVCPARM paParms[4];
    1089     int i = 0;
     1089    unsigned i = 0;
    10901090    HGCMSvcSetU32(&paParms[i++], pEvent->ContextID());
    10911091    HGCMSvcSetU32(&paParms[i++], mObjectID /* File handle */);
     
    14131413    /* Prepare HGCM call. */
    14141414    VBOXHGCMSVCPARM paParms[8];
    1415     int i = 0;
     1415    unsigned i = 0;
    14161416    HGCMSvcSetU32(&paParms[i++], pEvent->ContextID());
    14171417    HGCMSvcSetU32(&paParms[i++], mObjectID /* File handle */);
     
    14871487    /* Prepare HGCM call. */
    14881488    VBOXHGCMSVCPARM paParms[8];
    1489     int i = 0;
     1489    unsigned i = 0;
    14901490    HGCMSvcSetU32(&paParms[i++], pEvent->ContextID());
    14911491    HGCMSvcSetU32(&paParms[i++], mObjectID /* File handle */);
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