On Aug 14, 2013, at 09:14, Juli Mallett <jmall...@freebsd.org> wrote:
> On Wed, Aug 14, 2013 at 12:11 AM, Dimitry Andric <d...@freebsd.org> wrote:
> This still fails on arches where int64_t is aliased to long long
> (basically, the 32-bit arches).  Since using PRId64 is apparently
> frowned upon, the easiest solution is to cast the 'start' and 'last'
> variables to long long, and print them using %lld.
> 
> That can't be the easiest solution, it's not even that easy :)  It seems like 
> intmax_t or uintmax_t as appropriate and cast to %jd or %ju respectively 
> would be better.

I was simply looking at the surrounding code, and that already casts
several items to long long.  So I wanted to keep the style there. :-)

-Dimitry

_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to