Changeset 75461 in vbox for trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFFile.cpp
- Timestamp:
- Nov 14, 2018 7:51:23 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFFile.cpp
r75337 r75461 212 212 } 213 213 } 214 else if ( rc == VERR_ALREADY_EXISTS)214 else if (vrc == VERR_ALREADY_EXISTS) 215 215 rc = ERROR_ACCESS_DENIED; 216 216 else … … 748 748 *pcb = cbActual; 749 749 pSfFsi->sfi_positionl = offRead + cbActual; 750 if ( pSfFsi->sfi_sizel < offRead + cbActual)750 if ((uint64_t)pSfFsi->sfi_sizel < offRead + cbActual) 751 751 pSfFsi->sfi_sizel = offRead + cbActual; 752 752 pSfFsi->sfi_tstamp |= ST_SREAD | ST_PREAD; … … 774 774 *pcb = cbActual; 775 775 pSfFsi->sfi_positionl = offRead + cbActual; 776 if ( pSfFsi->sfi_sizel < offRead + cbActual)776 if ((uint64_t)pSfFsi->sfi_sizel < offRead + cbActual) 777 777 pSfFsi->sfi_sizel = offRead + cbActual; 778 778 pSfFsi->sfi_tstamp |= ST_SREAD | ST_PREAD; … … 822 822 *pcb = cbActual; 823 823 pSfFsi->sfi_positionl = offWrite + cbActual; 824 if ( pSfFsi->sfi_sizel < offWrite + cbActual)824 if ((uint64_t)pSfFsi->sfi_sizel < offWrite + cbActual) 825 825 pSfFsi->sfi_sizel = offWrite + cbActual; 826 826 pSfFsi->sfi_tstamp |= ST_SWRITE | ST_PWRITE; … … 848 848 *pcb = cbActual; 849 849 pSfFsi->sfi_positionl = offWrite + cbActual; 850 if ( pSfFsi->sfi_sizel < offWrite + cbActual)850 if ((uint64_t)pSfFsi->sfi_sizel < offWrite + cbActual) 851 851 pSfFsi->sfi_sizel = offWrite + cbActual; 852 852 pSfFsi->sfi_tstamp |= ST_SWRITE | ST_PWRITE;
Note:
See TracChangeset
for help on using the changeset viewer.