Page MenuHomeFreeBSD

Print Maximum Data Transfer Size as a long rather than int
ClosedPublic

Authored by jhibbits on Jun 3 2018, 3:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 14, 9:53 AM
Unknown Object (File)
Dec 12 2024, 4:47 AM
Unknown Object (File)
Nov 3 2024, 1:08 PM
Unknown Object (File)
Sep 24 2024, 4:19 AM
Unknown Object (File)
Sep 21 2024, 8:54 PM
Unknown Object (File)
Sep 19 2024, 5:20 AM
Unknown Object (File)
Sep 11 2024, 3:57 PM
Unknown Object (File)
Sep 11 2024, 11:05 AM
Subscribers
None

Details

Summary

PowerPC has PAGE_SIZE as a long, not an int. This causes the compiler to throw
a format mismatch warning on this print. To work around the difference, print
it as a long instead of an int, and force the argument to a long.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Jun 7 2018, 2:47 AM
This revision was automatically updated to reflect the committed changes.