author | shihong.zheng <shihong.zheng@amlogic.com> | 2019-01-09 02:59:03 (GMT) |
---|---|---|
committer | Luan Yuan <luan.yuan@amlogic.com> | 2019-01-09 12:28:29 (GMT) |
commit | 0bcd9ccdb6a11ea1d59337521f699273eaa84f9d (patch) | |
tree | 51f810c8273e009727942ab477d8ca5862f62205 | |
parent | 6cd5e0916bbbfab30f83ef2f34fbb8b779cfbc52 (diff) | |
download | media_modules-0bcd9ccdb6a11ea1d59337521f699273eaa84f9d.zip media_modules-0bcd9ccdb6a11ea1d59337521f699273eaa84f9d.tar.gz media_modules-0bcd9ccdb6a11ea1d59337521f699273eaa84f9d.tar.bz2 |
media_module: fixed buildroot build failed [1/1]
PD#SWPL-1738
Problem:
buildroot build failed
Solution:
modify print point value force to ulong from u32
Verify:
p212
Change-Id: I574fd6e8a080af02ae998c26a20d87986e7b08e7
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
-rw-r--r-- | drivers/frame_provider/decoder/utils/frame_check.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/frame_provider/decoder/utils/frame_check.c b/drivers/frame_provider/decoder/utils/frame_check.c index 699ff7f..9fd8a82 100644 --- a/drivers/frame_provider/decoder/utils/frame_check.c +++ b/drivers/frame_provider/decoder/utils/frame_check.c @@ -651,11 +651,11 @@ static int fbc_check_prepare(struct pic_check_t *check, (!check->fbc_planes[1]) || (!check->fbc_planes[2]) || (!check->fbc_planes[3])) { - dbg_print(0, "vmalloc staicplanes failed %x %x %x %x\n", - (u32)check->fbc_planes[0], - (u32)check->fbc_planes[1], - (u32)check->fbc_planes[2], - (u32)check->fbc_planes[3]); + dbg_print(0, "vmalloc staicplanes failed %lx %lx %lx %lx\n", + (ulong)check->fbc_planes[0], + (ulong)check->fbc_planes[1], + (ulong)check->fbc_planes[2], + (ulong)check->fbc_planes[3]); for (i = 0; i < ARRAY_SIZE(check->fbc_planes); i++) { if (check->fbc_planes[i]) { vfree(check->fbc_planes[i]); |