Re: git: fb53e7adaf5b - main - tarfs: Fix 32-bit build.
- In reply to: Dimitry Andric : "Re: git: fb53e7adaf5b - main - tarfs: Fix 32-bit build."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Feb 2023 23:06:40 UTC
Dimitry Andric <dim@FreeBSD.org> writes: > This be just nitpicking, but the ino and nlink fields are typically > defined as int64_t and uint64_t, so these should be printed as such. > > Since PRId64 and PRIu64 are apparently frowned upon, the usual solution > is to cast everything to intmax_t or uintmax_t, and use %j for the > modifier. An even simpler solution is to remove the code since I just realized it's unused :) DES -- Dag-Erling Smørgrav - des@FreeBSD.org