Chromium Code Reviews| Index: net/base/net_util.h |
| diff --git a/net/base/net_util.h b/net/base/net_util.h |
| index c74dfd2ea48486b08e16be9fdb700b9d99f06bd0..c87087025d9eb659a56a5d5679f7bd4a7099a360 100644 |
| --- a/net/base/net_util.h |
| +++ b/net/base/net_util.h |
| @@ -447,7 +447,7 @@ struct NET_EXPORT NetworkInterface { |
| uint32 interface_index, |
| NetworkChangeNotifier::ConnectionType type, |
| const IPAddressNumber& address, |
| - size_t network_prefix); |
| + unsigned int network_prefix); |
| ~NetworkInterface(); |
| std::string name; |
| @@ -455,7 +455,7 @@ struct NET_EXPORT NetworkInterface { |
| uint32 interface_index; // Always 0 on Android. |
| NetworkChangeNotifier::ConnectionType type; |
| IPAddressNumber address; |
| - size_t network_prefix; |
| + unsigned int network_prefix; |
|
Will Harris
2014/09/13 00:09:10
nit: could use uint32 like interface_index
davidben
2014/09/15 17:27:43
+1. If the goal is to avoid implicitly sized types
guoweis2
2014/09/15 18:10:10
Done.
|
| }; |
| typedef std::vector<NetworkInterface> NetworkInterfaceList; |