summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-03-18 01:02:38 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-18 01:02:38 +0100
commit7425d035ef70a831a6b8b0d85718244195d69aef (patch)
tree284d7b7a3457586ed01d5153261f2f7446112a83
parentam 80c1a386: resolved conflicts for merge of d90da130 to klp-modular-dev-plus-aosp (diff)
parentam 130a7985: Merge "fix error log statement" (diff)
downloadandroid_bootable_recovery-7425d035ef70a831a6b8b0d85718244195d69aef.tar
android_bootable_recovery-7425d035ef70a831a6b8b0d85718244195d69aef.tar.gz
android_bootable_recovery-7425d035ef70a831a6b8b0d85718244195d69aef.tar.bz2
android_bootable_recovery-7425d035ef70a831a6b8b0d85718244195d69aef.tar.lz
android_bootable_recovery-7425d035ef70a831a6b8b0d85718244195d69aef.tar.xz
android_bootable_recovery-7425d035ef70a831a6b8b0d85718244195d69aef.tar.zst
android_bootable_recovery-7425d035ef70a831a6b8b0d85718244195d69aef.zip
-rw-r--r--minui/resources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/resources.c b/minui/resources.c
index 69fd14bee..a0c621b71 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;
}