Changeset 63621 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Aug 24, 2016 7:49:10 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tftp.c
r63562 r63621 512 512 if (pcbReadData) 513 513 { 514 size_t cbRead; 515 514 516 rc = RTFileSeek(hSessionFile, 515 517 pcTftpSession->cbTransfered, … … 522 524 return rc; 523 525 } 524 rc = RTFileRead(hSessionFile, pu8Data, u16BlkSize, (size_t *)pcbReadData);526 rc = RTFileRead(hSessionFile, pu8Data, u16BlkSize, &cbRead); 525 527 if (RT_FAILURE(rc)) 526 528 { … … 529 531 return rc; 530 532 } 533 *pcbReadData = (int)cbRead; 531 534 } 532 535
Note:
See TracChangeset
for help on using the changeset viewer.