From a388a769760af4d8999558f38f81dafa63cc0bfb Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Mon, 17 Mar 2014 16:51:47 -0700 Subject: fix error log statement We were printing the address of channels instead of the value there. Change-Id: I652340c7c1a0abaf01af555e54d2c0366d21ad78 --- minui/resources.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minui') diff --git a/minui/resources.c b/minui/resources.c index 69fd14b..a0c621b 100644 --- a/minui/resources.c +++ b/minui/resources.c @@ -110,7 +110,7 @@ static int open_png(const char* name, png_structp* png_ptr, png_infop* info_ptr, *channels = 3; } else { fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n", - bit_depth, (int) channels, color_type); + bit_depth, *channels, color_type); result = -7; goto exit; } -- cgit v1.1