Use correct conversion specifier and length modifier when printing an