[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/extragear/kde3/graphics/digikam/libs/dimg/loaders
From: Gilles Caulier <caulier.gilles () gmail ! com>
Date: 2007-10-03 11:36:03
Message-ID: 1191411363.885776.25171.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 720636 by cgilles:
fix warnings
M +4 -4 pngloader.cpp
--- branches/extragear/kde3/graphics/digikam/libs/dimg/loaders/pngloader.cpp \
#720635:720636 @@ -597,7 +597,7 @@
if (!profile_rawdata.isEmpty())
{
- png_set_iCCP(png_ptr, info_ptr, "icc", PNG_COMPRESSION_TYPE_BASE, \
profile_rawdata.data(), profile_rawdata.size()); + png_set_iCCP(png_ptr, \
info_ptr, (png_charp)"icc", PNG_COMPRESSION_TYPE_BASE, profile_rawdata.data(), \
profile_rawdata.size()); }
// -------------------------------------------------------------------
@@ -628,7 +628,7 @@
libpngver.replace('\n', ' ');
software.append(QString(" (%1)").arg(libpngver));
png_text text;
- text.key = "Software";
+ text.key = (png_charp)("Software");
text.text = (char *)software.ascii();
#ifdef ENABLE_DEBUG_MESSAGES
DDebug() << "Writing PNG Embedded text: key=" << text.key << " text=" << \
text.text << endl; @@ -688,12 +688,12 @@
profile = ba;
}
- writeRawProfile(png_ptr, info_ptr, "exif", profile.data(), \
(png_uint_32) profile.size()); + writeRawProfile(png_ptr, info_ptr, \
(png_charp)("exif"), profile.data(), (png_uint_32) profile.size()); break;
}
case(DImg::IPTC):
{
- writeRawProfile(png_ptr, info_ptr, "iptc", ba.data(), (png_uint_32) \
ba.size()); + writeRawProfile(png_ptr, info_ptr, (png_charp)("iptc"), \
ba.data(), (png_uint_32) ba.size()); break;
}
default:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic