PD#SWPL-1449
Problem:
sizeof in android P is unsined int but long unsigned int in Q
Solution:
covert sizeof type to u32
Verify:
u212
Change-Id: Iee31852ddbb3af61fd9636f2ccd39afb1253d8c7
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
}
if (struct_size != sizeof(struct av_param_mvdec_t)) {
pr_err("pass in size %u != expected size %u\n",
- struct_size, sizeof(struct av_param_mvdec_t));
+ struct_size, (u32)sizeof(struct av_param_mvdec_t));
pr_err("App using old structue,we will support it.\n");
//Here will add the compatibility for old structure when
//current struecture be substituded by newer structure.