mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
fix compiler warning with new libpng
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1500 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 9871d76311
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-06-02 (Thu, 02 Jun 2011)
Origin message was:
------------------
- fix compiler warning with new libpng
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1500 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -107,7 +107,7 @@ int fh_png_load(const char *name,unsigned char **buffer,int* /*xp*/,int* /*yp*/)
|
|||||||
if (width * 3 != png_get_rowbytes(png_ptr, info_ptr))
|
if (width * 3 != png_get_rowbytes(png_ptr, info_ptr))
|
||||||
{
|
{
|
||||||
printf("[png.cpp]: Error processing %s - please report (including image).\n", name);
|
printf("[png.cpp]: Error processing %s - please report (including image).\n", name);
|
||||||
printf(" width: %lu rowbytes: %lu\n", width, png_get_rowbytes(png_ptr, info_ptr));
|
printf(" width: %lu rowbytes: %lu\n", (unsigned long)width, (unsigned long)png_get_rowbytes(png_ptr, info_ptr));
|
||||||
fclose(fh);
|
fclose(fh);
|
||||||
return(FH_ERROR_FORMAT);
|
return(FH_ERROR_FORMAT);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user