ZeroMem (&ArpConfigData, sizeof (EFI_ARP_CONFIG_DATA));\r
\r
ArpConfigData.SwAddressType = 0x0800;\r
- ArpConfigData.SwAddressLength = sizeof (EFI_IPv4_ADDRESS);\r
+ ArpConfigData.SwAddressLength = (UINT8) sizeof (EFI_IPv4_ADDRESS);\r
ArpConfigData.StationAddress = &Private->StationIp.v4;\r
\r
Private->Arp->Configure (Private->Arp, NULL);\r
ZeroMem (&ArpConfigData, sizeof (EFI_ARP_CONFIG_DATA));\r
\r
ArpConfigData.SwAddressType = 0x0800;\r
- ArpConfigData.SwAddressLength = sizeof (EFI_IPv4_ADDRESS);\r
+ ArpConfigData.SwAddressLength = (UINT8) sizeof (EFI_IPv4_ADDRESS);\r
ArpConfigData.StationAddress = &Private->StationIp.v4;\r
\r
Private->Arp->Configure (Private->Arp, NULL);\r