fix error log statement

We were printing the address of channels instead of the value there.

Change-Id: I652340c7c1a0abaf01af555e54d2c0366d21ad78
This commit is contained in:
Doug Zongker
2014-03-17 16:51:47 -07:00
parent d90da13076
commit a388a76976
+1 -1
View File
@@ -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;
}