VirtualBox

Ignore:
Timestamp:
Jul 4, 2012 6:08:25 AM (12 years ago)
Author:
vboxsync
Message:

NAT: warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/tftp.c

    r42012 r42013  
    132132DECLINLINE(int) tftpSecurityFilenameCheck(PNATState pData, PCTFTPSESSION pcTftpSession)
    133133{
    134     int cbSessionFilename = 0;
     134    size_t cbSessionFilename = 0;
    135135    int rc = VINF_SUCCESS;
    136136    AssertPtrReturn(pcTftpSession, VERR_INVALID_PARAMETER);
     
    274274    int rc = VINF_SUCCESS;
    275275    char *pszTftpRRQRaw;
    276     int idxTftpRRQRaw = 0;
     276    size_t idxTftpRRQRaw = 0;
    277277    int cbTftpRRQRaw = 0;
    278278    int fWithArg = 0;
     
    415415{
    416416    char aszSessionFileName[TFTP_FILENAME_MAX];
    417     int cbSessionFileName;
     417    size_t cbSessionFileName;
    418418    int rc = VINF_SUCCESS;
    419419    cbSessionFileName = RTStrPrintf(aszSessionFileName, TFTP_FILENAME_MAX, "%s/%s",
     
    547547{
    548548    char aszOptionBuffer[256];
    549     int iOptLength = 0;
     549    size_t iOptLength = 0;
    550550    int rc = VINF_SUCCESS;
    551551    int cbMBufCurrent = pMBuf->m_len;
     
    689689    uint8_t *pu8Payload = NULL;
    690690    int     cbPayload = 0;
    691     int cbFileName = 0;
     691    size_t cbFileName = 0;
    692692    int rc = VINF_SUCCESS;
    693693
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