Explicitly cast types that are invalid format specifiers