Adds string casts to get the proper length of the integers

Signed-off-by: OpenShift guest <jean-loup.roussel-clouet@etu.utc.fr>