Page MenuHomeFreeBSD

wpi(4): use more correct types
ClosedPublic

Authored by avos on Oct 1 2015, 2:24 PM.
Tags
None
Referenced Files
F133494383: D3763.id9308.diff
Sun, Oct 26, 5:07 AM
F133494376: D3763.id9012.diff
Sun, Oct 26, 5:07 AM
F133494372: D3763.id.diff
Sun, Oct 26, 5:07 AM
F133455526: D3763.diff
Sat, Oct 25, 10:30 PM
Unknown Object (File)
Fri, Oct 17, 1:40 AM
Unknown Object (File)
Sat, Oct 11, 1:29 PM
Unknown Object (File)
Sat, Oct 11, 10:04 AM
Unknown Object (File)
Sep 16 2025, 3:40 PM
Subscribers

Details

Test Plan

Tested with Intel 3945BG, STA mode

Diff Detail

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

Event Timeline

avos retitled this revision from to wpi(4): use more correct types.
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added a reviewer: adrian.
avos set the repository for this revision to rS FreeBSD src repository - subversion.

Hi,

So there are a lot of changes from int to something else. I think you should explain to people why the changes are useful as part of the description.

For example, people tend to just use 'int' for array iteration, and you've changed a handful of those over to be uint8_t. Why's that?

In D3763#79519, @adrian wrote:

Hi,

So there are a lot of changes from int to something else. I think you should explain to people why the changes are useful as part of the description.

For example, people tend to just use 'int' for array iteration, and you've changed a handful of those over to be uint8_t. Why's that?

This change fixes some amount of -Wsign-conversion and -Wconversion warnings + sets correct sizes for some variables (as a result, some loop counters were touched too).

This revision was automatically updated to reflect the committed changes.