Fix the minor style issue and remove unnecessary cast Signed-off-by: chao an <anchao@xiaomi.com>
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>