Skip to content

Commit

Permalink
more typedef replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-langer authored and mloskot committed Jun 25, 2022
1 parent f0a05ae commit 42b408c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions include/boost/gil/extension/io/tiff/detail/device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class tiff_device_base
{
io_error_if( TIFFReadScanline( _tiff_file.get()
, reinterpret_cast< tdata_t >( &buffer.front() )
, (uint32) row
, static_cast<std::uint32_t>( row )
, plane ) == -1
, "Read error."
);
Expand All @@ -206,7 +206,7 @@ class tiff_device_base
{
io_error_if( TIFFReadScanline( _tiff_file.get()
, reinterpret_cast< tdata_t >( buffer )
, (uint32) row
, static_cast<std::uint32_t>( row )
, plane ) == -1
, "Read error."
);
Expand Down
6 changes: 3 additions & 3 deletions include/boost/gil/extension/io/tiff/detail/write.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class writer< Device


this->_io_dev.write_scaline( row
, (uint32) y
, static_cast<std::uint32_t>( y )
, 0
);

Expand Down Expand Up @@ -212,7 +212,7 @@ class writer< Device


this->_io_dev.write_scaline( row
, (uint32) y
, static_cast<std::uint32_t>( y )
, 0
);

Expand Down Expand Up @@ -274,7 +274,7 @@ class writer< Device
);

this->_io_dev.write_scaline( row_addr
, (uint32) y
, static_cast<std::uint32_t>( y )
, 0
);

Expand Down

0 comments on commit 42b408c

Please sign in to comment.