By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 949
Collapse All | Expand All

(-) (-3 / +9 lines)
Line  Link Here
-- digikam/digikam/libs/dimg/loaders/pngloader.cpp
Lines 57-62 Link Here
57
namespace Digikam
57
namespace Digikam
58
{
58
{
59
59
60
#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 5
61
typedef png_bytep iCCP_data;
62
#else
63
typedef png_charp iCCP_data;
64
#endif
65
60
PNGLoader::PNGLoader(DImg* image)
66
PNGLoader::PNGLoader(DImg* image)
61
         : DImgLoader(image)
67
         : DImgLoader(image)
62
{
68
{
Lines 403-409 Link Here
403
409
404
    TQMap<int, TQByteArray>& metaData = imageMetaData();
410
    TQMap<int, TQByteArray>& metaData = imageMetaData();
405
411
406
    png_charp   profile_name, profile_data=NULL;
412
    png_charp   profile_name;
413
    iCCP_data   profile_data=NULL;
407
    png_uint_32 profile_size;
414
    png_uint_32 profile_size;
408
    int         compression_type;
415
    int         compression_type;
409
416
Lines 599-605 Link Here
599
606
600
    if (!profile_rawdata.isEmpty())
607
    if (!profile_rawdata.isEmpty())
601
    {
608
    {
602
        png_set_iCCP(png_ptr, info_ptr, (png_charp)"icc", PNG_COMPRESSION_TYPE_BASE, profile_rawdata.data(), profile_rawdata.size());
609
        png_set_iCCP(png_ptr, info_ptr, (png_charp)("icc"), PNG_COMPRESSION_TYPE_BASE, (iCCP_data)profile_rawdata.data(), profile_rawdata.size());
603
    }
610
    }
604
611
605
    // -------------------------------------------------------------------
612
    // -------------------------------------------------------------------

Return to bug 949