On 02 Mar 2015 18:13, Dmitry V. Levin wrote: > On Mon, Mar 02, 2015 at 02:31:51PM +0300, Dmitry V. Levin wrote: > > On Mon, Mar 02, 2015 at 12:42:45AM -0500, Mike Frysinger wrote: > > > - x32 sysinfo.c has type warnings > > The fix seems to be as simple as "sed -i s/%l/%j/g sysinfo.c". > > No, %ju is not a correct fix for 32-bit architectures, > I had to use %llu format and cast to unsigned long long.
intmax_t should be 64bit on ILP32 systems. it doesn't always mean you can avoid the cast though :(. -mike
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel