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
commit47c7e365071f75489604b2d0ba3109fe39bac1ef (patch)
tree7e827c32479d243185ec3887c26c1deaf71a84f0
parentresolved conflicts for merge of d90da130 to klp-modular-dev-plus-aosp (diff)
parentMerge "fix error log statement" (diff)
downloadandroid_bootable_recovery-47c7e365071f75489604b2d0ba3109fe39bac1ef.tar
android_bootable_recovery-47c7e365071f75489604b2d0ba3109fe39bac1ef.tar.gz
android_bootable_recovery-47c7e365071f75489604b2d0ba3109fe39bac1ef.tar.bz2
android_bootable_recovery-47c7e365071f75489604b2d0ba3109fe39bac1ef.tar.lz
android_bootable_recovery-47c7e365071f75489604b2d0ba3109fe39bac1ef.tar.xz
android_bootable_recovery-47c7e365071f75489604b2d0ba3109fe39bac1ef.tar.zst
android_bootable_recovery-47c7e365071f75489604b2d0ba3109fe39bac1ef.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;
}