summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-03-18 00:51:47 +0100
committerDoug Zongker <dougz@google.com>2014-03-18 00:51:47 +0100
commita388a769760af4d8999558f38f81dafa63cc0bfb (patch)
treef598640fc79569d843981d110d88b8787315695a
parentMerge "refactor image resource loading code in minui" (diff)
downloadandroid_bootable_recovery-a388a769760af4d8999558f38f81dafa63cc0bfb.tar
android_bootable_recovery-a388a769760af4d8999558f38f81dafa63cc0bfb.tar.gz
android_bootable_recovery-a388a769760af4d8999558f38f81dafa63cc0bfb.tar.bz2
android_bootable_recovery-a388a769760af4d8999558f38f81dafa63cc0bfb.tar.lz
android_bootable_recovery-a388a769760af4d8999558f38f81dafa63cc0bfb.tar.xz
android_bootable_recovery-a388a769760af4d8999558f38f81dafa63cc0bfb.tar.zst
android_bootable_recovery-a388a769760af4d8999558f38f81dafa63cc0bfb.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;
}