Page MenuHomeFreeBSD

sfxge(4): fix warnings from VS2015 C compiler (C4244)
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 10:30 AM
Unknown Object (File)
Wed, Nov 20, 6:52 AM
Unknown Object (File)
Tue, Nov 19, 11:54 PM
Unknown Object (File)
Tue, Nov 19, 11:41 PM
Unknown Object (File)
Tue, Nov 19, 8:54 PM
Unknown Object (File)
Tue, Nov 19, 2:47 PM
Unknown Object (File)
Tue, Nov 19, 8:36 AM
Unknown Object (File)
Mon, Nov 18, 4:19 PM
Subscribers

Details

Summary

Fix level 4 warning
"C4244: '+=': conversion from 'unsigned int' to 'uint16_t', possible loss
of data"; no functional changes.

Submitted by: Andrew Lee <alee at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 24 2018, 4:32 PM
This revision was automatically updated to reflect the committed changes.