summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-03-18 00:52:34 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-18 00:52:35 +0100
commit130a7985386f7f7741179fc38b1a15da7ec9f358 (patch)
treef598640fc79569d843981d110d88b8787315695a
parentMerge "refactor image resource loading code in minui" (diff)
parentfix error log statement (diff)
downloadandroid_bootable_recovery-130a7985386f7f7741179fc38b1a15da7ec9f358.tar
android_bootable_recovery-130a7985386f7f7741179fc38b1a15da7ec9f358.tar.gz
android_bootable_recovery-130a7985386f7f7741179fc38b1a15da7ec9f358.tar.bz2
android_bootable_recovery-130a7985386f7f7741179fc38b1a15da7ec9f358.tar.lz
android_bootable_recovery-130a7985386f7f7741179fc38b1a15da7ec9f358.tar.xz
android_bootable_recovery-130a7985386f7f7741179fc38b1a15da7ec9f358.tar.zst
android_bootable_recovery-130a7985386f7f7741179fc38b1a15da7ec9f358.zip
Diffstat (limited to '')
-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;
}