mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Fixed a compiler warning under Cygwin (Windows-7, 32-bit system)
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
9ff37ea94f
commit
845ee6af72
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user