Page MenuHomeFreeBSD

Unbreak the build on 32-bit architectures
ClosedPublic

Authored by ngie on Jan 23 2019, 11:18 PM.
Tags
None
Referenced Files
F132674655: D18935.id53131.diff
Sat, Oct 18, 11:10 PM
F132674648: D18935.id53130.diff
Sat, Oct 18, 11:10 PM
F132674646: D18935.id53129.diff
Sat, Oct 18, 11:10 PM
F132674642: D18935.id.diff
Sat, Oct 18, 11:10 PM
Unknown Object (File)
Sat, Oct 18, 12:17 PM
Unknown Object (File)
Fri, Oct 17, 12:49 PM
Unknown Object (File)
Mon, Oct 13, 5:51 AM
Unknown Object (File)
Sep 18 2025, 4:49 PM
Subscribers

Details

Summary

I should have used %zu instead of %ju with size_t types.

MFC after: 1 month
MFC with: r343362, r343365
Pointyhat to: ngie

Test Plan

Does it compile :)?

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Instead of casting the argument to a larger size, can you just use %zu instead?

Instead of casting the argument to a larger size, can you just use %zu instead?

Yup *derp*!

ngie edited the summary of this revision. (Show Details)

Use %zu instead of %ju, like I should have done in the beginning

Approved. Just make sure the commit message matches the code.

This revision is now accepted and ready to land.Jan 23 2019, 11:27 PM

Approved. Just make sure the commit message matches the code.

Done -- thanks!

This revision was automatically updated to reflect the committed changes.