Cast to int to fix format args warning.
Bugfix for lowercase K digit ruts.