diff options
-rw-r--r-- | src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/SystemNetworkInterface.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/SystemNetworkInterface.cs b/src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/SystemNetworkInterface.cs index 784f64ec10..43bc90f701 100644 --- a/src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/SystemNetworkInterface.cs +++ b/src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/SystemNetworkInterface.cs @@ -150,7 +150,7 @@ namespace System.Net.NetworkInformation _type = ipAdapterAddresses.type; _operStatus = ipAdapterAddresses.operStatus; - _speed = (long)ipAdapterAddresses.receiveLinkSpeed; + _speed = unchecked((long)ipAdapterAddresses.receiveLinkSpeed); // API specific info. _ipv6Index = ipAdapterAddresses.ipv6Index; |