summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-03-18 00:57:40 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-18 00:57:40 +0100
commit2b3737224efaa7ff69404e48454d7fa11c30e89c (patch)
treedf48e3a9e0e4ac6ebf8ba206aaf37455d131cd8f
parentresolved conflicts for merge of d90da130 to klp-dev-plus-aosp (diff)
parentMerge "fix error log statement" (diff)
downloadandroid_bootable_recovery-2b3737224efaa7ff69404e48454d7fa11c30e89c.tar
android_bootable_recovery-2b3737224efaa7ff69404e48454d7fa11c30e89c.tar.gz
android_bootable_recovery-2b3737224efaa7ff69404e48454d7fa11c30e89c.tar.bz2
android_bootable_recovery-2b3737224efaa7ff69404e48454d7fa11c30e89c.tar.lz
android_bootable_recovery-2b3737224efaa7ff69404e48454d7fa11c30e89c.tar.xz
android_bootable_recovery-2b3737224efaa7ff69404e48454d7fa11c30e89c.tar.zst
android_bootable_recovery-2b3737224efaa7ff69404e48454d7fa11c30e89c.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;
}