Fix type in 5.12 compatibility code
v1.003

          Fix type in 5.12 compatibility code