Fix assert when formatting a string do to passing long to %u.