Correction to r4316 to deal with msvc build breaker.

This commit is contained in:
Robin Mills 2016-06-09 09:08:52 +00:00
parent c211816b2c
commit 66fd2d3272

View File

@ -585,13 +585,13 @@ namespace Exiv2 {
IptcData::printStructure(out,bytes,count,depth);
delete[] bytes; // free
} else if ( option == kpsRecursive && tag == 0x927c /* MakerNote */ && count > 10) {
size_t jump=10;
size_t jump= 10 ;
byte bytes[20] ;
const char* chars = (const char*) &bytes[0] ;
size_t restore = io.tell(); // save
io.seek(offset,BasicIo::beg); // position
byte bytes[jump+1] ;
const char* chars = (const char*) &bytes ;
io.read(bytes,jump ) ; // read
bytes[jump]=0;
bytes[jump]=0 ;
if ( ::strcmp("Nikon",chars) == 0 ) {
printTiffStructure(io,out,option,depth,offset+jump);
}