diff --git a/generators/tiff/generator_tiff.cpp b/generators/tiff/generator_tiff.cpp index e589a0be2..3ed6bee96 100644 --- a/generators/tiff/generator_tiff.cpp +++ b/generators/tiff/generator_tiff.cpp @@ -379,7 +379,7 @@ bool TIFFGenerator::print( QPrinter& printer ) document()->currentPage() + 1, document()->bookmarkedPageList() ); - for ( tdir_t i = 0; i < pageList.count(); ++i ) + for ( int i = 0; i < pageList.count(); ++i ) { if ( !TIFFSetDirectory( d->tiff, mapPage( pageList[i] - 1 ) ) ) continue;