[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:46:11 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=947ed69
The following commit has been merged in the master branch:
commit 947ed69de835661b58eec6734e1fc988c9ba8384
Author: Robin Mills <robin at clanmills.com>
Date: Thu Jan 7 20:32:38 2016 +0000
#1108 and #1074 Correction to r4168 to fix MSVC build breaker.
---
src/pngimage.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/pngimage.cpp b/src/pngimage.cpp
index 1504a75..4ad97e2 100644
--- a/src/pngimage.cpp
+++ b/src/pngimage.cpp
@@ -250,11 +250,11 @@ namespace Exiv2 {
if( bDump ) {
DataBuf dataBuf;
- byte* data = new byte[dataOffset];
+ byte* data = new byte[dataOffset];
io_->read(data,dataOffset);
io_->seek(restore, BasicIo::beg);
- size_t name_l = std::strlen((const char*)data)+1; // leading string length
- size_t start = name_l;
+ uint32_t name_l = (uint32_t) std::strlen((const char*)data)+1; // leading string length
+ uint32_t start = name_l;
// decode the chunk
bool bGood = false;
@@ -278,7 +278,7 @@ namespace Exiv2 {
}
if ( bExif ) {
const char* bytes = (const char*) dataBuf.pData_;
- long l = std::strlen(bytes)+2;
+ uint32_t l = (uint32_t) std::strlen(bytes)+2;
// create a copy on write memio object with the data, then print the structure
BasicIo::AutoPtr p = BasicIo::AutoPtr(new MemIo(dataBuf.pData_+l,dataBuf.size_-l));
TiffImage::printTiffStructure(*p,out,option,depth);
@@ -286,7 +286,7 @@ namespace Exiv2 {
if ( bSoft ) {
const char* bytes = (const char*) dataBuf.pData_;
- long l = std::strlen(bytes)+2;
+ uint32_t l = (uint32_t) std::strlen(bytes)+2;
// create a copy on write memio object with the data, then print the structure
BasicIo::AutoPtr p = BasicIo::AutoPtr(new MemIo(dataBuf.pData_+l,dataBuf.size_-l));
out << indent(depth) << (const char*) buff.pData_ << ": " << (const char*) dataBuf.pData_ << std::endl;
@@ -298,7 +298,7 @@ namespace Exiv2 {
if ( bIptc && bSoft ) { // we require a photoshop parser to recover IPTC data
const char* bytes = (const char*) dataBuf.pData_;
- long l = std::strlen(bytes)+2;
+ uint32_t l = (uint32_t) std::strlen(bytes)+2;
// create a copy on write memio object with the data, then print the structure
BasicIo::AutoPtr p = BasicIo::AutoPtr(new MemIo(dataBuf.pData_+l,dataBuf.size_-l));
TiffImage::printTiffStructure(*p,out,option,depth);
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list