X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ac31c429f668e236f4d9686c47b5172f625781c..0281278534339322516fa6133ed4df925c2156be:/src/common/imagtiff.cpp diff --git a/src/common/imagtiff.cpp b/src/common/imagtiff.cpp index ef9589c911..3cd681f757 100644 --- a/src/common/imagtiff.cpp +++ b/src/common/imagtiff.cpp @@ -89,7 +89,7 @@ _tiffSeekIProc(thandle_t handle, toff_t off, int whence) default: mode = wxFromCurrent; break; } - return (toff_t)stream->SeekI( (off_t)off, mode ); + return (toff_t)stream->SeekI( (wxFileOffset)off, mode ); } toff_t TIFFLINKAGEMODE @@ -105,7 +105,7 @@ _tiffSeekOProc(thandle_t handle, toff_t off, int whence) default: mode = wxFromCurrent; break; } - return (toff_t)stream->SeekO( (off_t)off, mode ); + return (toff_t)stream->SeekO( (wxFileOffset)off, mode ); } int TIFFLINKAGEMODE