[libpng16] Fixed a compiler warning under Cygwin (Windows-7, 32-bit system)
This commit is contained in:
parent
9ff37ea94f
commit
845ee6af72
3
ANNOUNCE
3
ANNOUNCE
@ -301,7 +301,8 @@ Version 1.6.0beta17 [March 10, 2012]
|
||||
Version 1.6.0beta18 [March 11, 2012]
|
||||
Issue a png_benign_error() instead of png_warning() about bad palette index.
|
||||
In pngtest, treat benign errors as errors if "-strict" is present.
|
||||
Fix an off-by-one error in the palette index checking function.
|
||||
Fixed an off-by-one error in the palette index checking function.
|
||||
Fixed a compiler warning under Cygwin (Windows-7, 32-bit system)
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
3
CHANGES
3
CHANGES
@ -4052,7 +4052,8 @@ Version 1.6.0beta17 [March 10, 2012]
|
||||
Version 1.6.0beta18 [March 11, 2012]
|
||||
Issue a png_benign_error() instead of png_warning() about bad palette index.
|
||||
In pngtest, treat benign errors as errors if "-strict" is present.
|
||||
Fix an off-by-one error in the palette index checking function.
|
||||
Fixed an off-by-one error in the palette index checking function.
|
||||
Fixed a compiler warning under Cygwin (Windows-7, 32-bit system)
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
@ -4653,8 +4653,8 @@ standard_check_text(png_const_structp pp, png_const_textp tp,
|
||||
if (tp->text_length != strlen(text))
|
||||
{
|
||||
char buf[64];
|
||||
sprintf(buf, "text length changed[%lu->%lu], ", strlen(text),
|
||||
tp->text_length);
|
||||
sprintf(buf, "text length changed[%lu->%lu], ",
|
||||
(unsigned long)strlen(text), (unsigned long)tp->text_length);
|
||||
pos = safecat(msg, sizeof msg, pos, buf);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user