colors

extract colors from pictures
git clone git://git.2f30.org/colors
Log | Files | Refs | README | LICENSE

commit df760ab29c319ddc9ca9c3e3514bf85acab2f0c5
parent 4cd3e5b282008561e2bf7c04c43ba497e132bda6
Author: sin <sin@2f30.org>
Date:   Fri,  5 Jun 2015 16:23:02 +0100

Use proper type

Diffstat:
Mpng.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/png.c b/png.c @@ -11,9 +11,8 @@ parseimg(char *f, void (*fn)(int, int, int)) png_structp png_struct_p; png_infop png_info_p; png_bytepp png_row_p; - png_uint_32 width, height; + png_uint_32 y, x, width, height; int depth, color, interlace; - int y, x; FILE *fp; if (!(fp = fopen(f, "r")))