more fixes, will merge fixes for w4245 and w4389

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-13 12:29:24 -07:00
parent 3522f622f3
commit e9b4f48f71
31 changed files with 21 additions and 133 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ libtiffDummyReadProc (thandle_t fd, tdata_t buf, tsize_t size)
memcpy(buf, &memImage->buffer[memImage->offset], size);
memImage->offset += size;
memImage->offset += static_cast<uint32>(size);
// Return the amount of data read
return size;
@@ -83,7 +83,7 @@ libtiffDummySeekProc (thandle_t fd, toff_t off, int i)
break;
case SEEK_CUR:
memImage->offset += off;
memImage->offset += static_cast<uint32>(off);
break;
case SEEK_END: