Should we make a PRIxxx macro for it? -- thorpej Sent from my iPhone.
> On Sep 21, 2019, at 5:57 AM, Robert Elz <k...@netbsd.org> wrote: > > Module Name: src > Committed By: kre > Date: Sat Sep 21 12:57:25 UTC 2019 > > Modified Files: > src/sys/dev/ic: mpt.c > > Log Message: > bus_addt_t is different widths on different archs, so there is no > one simple %?x format that will always work to print it. Cast to > intmax_t and use %jx which should work everywhere. > > > To generate a diff of this commit: > cvs rdiff -u -r1.19 -r1.20 src/sys/dev/ic/mpt.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >