[s1899] fix clang compile error from implicit type conversion

Signed-off-by: DasBlub <DasBlub@gmail.com>

(based on commit [12366] - ce05512)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>