#1074 Correction to r4457 to fix msvc build-breaker.

This commit is contained in:
Robin Mills 2016-09-01 17:38:04 +00:00
parent b7c90140c7
commit 3706233c8d

View File

@ -1110,7 +1110,7 @@ namespace Exiv2 {
pad[1] = chunks;
pad[2] = 0;
pad[3] = 0;
outIo.write((const byte *) iccId_, ::strlen(iccId_) + 1);
outIo.write((const byte *) iccId_,(long) ::strlen(iccId_) + 1);
outIo.write((const byte *) pad, sizeof(pad));
if (outIo.write(iccProfile_.pData_+ (chunk*chunk_size), bytes) != bytes)
throw Error(21);