Changeset 77692 in vbox for trunk/src/VBox/ValidationKit/utils/fs
- Timestamp:
- Mar 13, 2019 8:05:59 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/fs/FsPerf.cpp
r77690 r77692 736 736 while (cbExist > 0) 737 737 { 738 size_t cbToWrite =strlen(pszFilename);739 if ( (ssize_t)cbToWrite > cbExist)738 int cbToWrite = (int)strlen(pszFilename); 739 if (cbToWrite > cbExist) 740 740 cbToWrite = cbExist; 741 741 rc = RTFileWrite(hFile, pszFilename, cbToWrite, NULL); … … 786 786 while (cbNext > 0) 787 787 { 788 size_t cbToWrite =strlen(pszFilename);789 if ( (ssize_t)cbToWrite > cbNext)788 int cbToWrite = (int)strlen(pszFilename); 789 if (cbToWrite > cbNext) 790 790 cbToWrite = cbNext; 791 791 rc = RTFileWrite(hFile, pszFilename, cbToWrite, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.