[devel] Prefixed variable names index, div, exp, gamma with "png_"

to avoid "shadow" warnings.  Revised png_fixed() in png.c to avoid compiler
warning about reaching the end without returning anything.
This commit is contained in:
Glenn Randers-Pehrson
2011-01-16 00:38:30 -06:00
parent 5acd8fe9cb
commit e03dd5bd64
3 changed files with 91 additions and 84 deletions

View File

@@ -49,6 +49,10 @@ Version 1.5.1beta04 [January 16, 2011]
macros such as png_memset() are no longer accessible by applications.
Corrected pngvalid gamma test "sample" function to access all of the color
samples of each pixel, instead of sampling the red channel three times.
Prefixed variable names index, div, exp, gamma with "png_" to avoid "shadow"
warnings.
Revised png_fixed() in png.c to avoid compiler warning about reaching the
end without returning anything.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit