Fixed several format strings in printf's dealing with size_t values
This commit is contained in:
parent
977290f4a1
commit
2ecfb288d3
@ -103,7 +103,7 @@ std::list<badPix>& dfInfo::getHotPixels()
|
||||
}
|
||||
/* updateRawImage() load into ri the actual pixel data from pathname if there is a single shot
|
||||
* otherwise load each file from the pathNames list and extract a template from the media;
|
||||
* the first file is used also for reading all information other than pixels
|
||||
* the first file is used also for reading all information other than pixels
|
||||
*/
|
||||
void dfInfo::updateRawImage()
|
||||
{
|
||||
@ -189,7 +189,7 @@ void dfInfo::updateBadPixelList( RawImage *df )
|
||||
}
|
||||
}
|
||||
if( settings->verbose ){
|
||||
printf( "Extracted %u pixels from darkframe %s\n", badPixels.size(),df->fname.c_str() );
|
||||
printf( "Extracted %zu pixels from darkframe %s\n", badPixels.size(),df->fname.c_str() );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -904,7 +904,7 @@ void RawImageSource::preprocess (const RAWParams &raw)
|
||||
for(std::list<badPix>::iterator iter = bp->begin(); iter != bp->end(); iter++,totBP++)
|
||||
bitmapBads[ widthBitmap * (iter->y) + (iter->x)/8] |= 1<<(iter->x%8);
|
||||
if( settings->verbose ){
|
||||
printf( "Correcting %u pixels from .badpixels\n",bp->size());
|
||||
printf( "Correcting %zu pixels from .badpixels\n",bp->size());
|
||||
}
|
||||
}
|
||||
bp = 0;
|
||||
@ -916,7 +916,7 @@ void RawImageSource::preprocess (const RAWParams &raw)
|
||||
for(std::list<badPix>::iterator iter = bp->begin(); iter != bp->end(); iter++,totBP++)
|
||||
bitmapBads[ widthBitmap *iter->y + iter->x/8] |= 1<<(iter->x%8);
|
||||
if( settings->verbose && bp->size()>0){
|
||||
printf( "Correcting %u hotpixels from darkframe\n",bp->size());
|
||||
printf( "Correcting %zu hotpixels from darkframe\n",bp->size());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user