[Acc] [PATCH 09/20] uadk: fix truncation before type conversion