[c12503] fix clang compile error from implicit type conversion

(based on commit [12366] - ce05512581df2eec6687a76bcfc4415dc72bdb23)