[libpng16] Replaced "unexpected" with an integer (0xabadca11) in pngset.c
This commit is contained in:
parent
23da29af91
commit
e0f0d05938
6
ANNOUNCE
6
ANNOUNCE
@ -1,4 +1,4 @@
|
|||||||
Libpng 1.6.18beta03 - April 26, 2015
|
Libpng 1.6.18beta03 - April 29, 2015
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
This is not intended to be a public release. It will be replaced
|
||||||
within a few weeks by a public version or by another test version.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -38,7 +38,9 @@ Version 1.6.18beta02 [April 26, 2015]
|
|||||||
Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler
|
Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler
|
||||||
(Bug report by Viktor Szaka'ts).
|
(Bug report by Viktor Szaka'ts).
|
||||||
|
|
||||||
Version 1.6.18beta03 [April 26, 2015]
|
Version 1.6.18beta03 [April 29, 2015]
|
||||||
|
Replaced "unexpected" with an integer (0xabadca11) in pngset.c
|
||||||
|
where a long was expected, to avoid a compiler warning when PNG_DEBUG > 1.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
4
CHANGES
4
CHANGES
@ -5218,7 +5218,9 @@ Version 1.6.18beta02 [April 26, 2015]
|
|||||||
Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler
|
Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler
|
||||||
(Bug report by Viktor Szaka'ts).
|
(Bug report by Viktor Szaka'ts).
|
||||||
|
|
||||||
Version 1.6.18beta03 [April 26, 2015]
|
Version 1.6.18beta03 [April 29, 2015]
|
||||||
|
Replaced "unexpected" with an integer (0xabadca11) in pngset.c
|
||||||
|
where a long was expected, to avoid a compiler warning when PNG_DEBUG > 1.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
2
pngset.c
2
pngset.c
@ -709,7 +709,7 @@ png_set_text_2(png_const_structrp png_ptr, png_inforp info_ptr,
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
png_debug1(1, "in %lx storage function", png_ptr == NULL ? "unexpected" :
|
png_debug1(1, "in %lx storage function", png_ptr == NULL ? 0xabadca11 :
|
||||||
(unsigned long)png_ptr->chunk_name);
|
(unsigned long)png_ptr->chunk_name);
|
||||||
|
|
||||||
if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL)
|
if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user