]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Ebl/Network.c
MdeModulePkg FaultTolerantWrite: Let FaultTolerantWrite driver to depend on gEfiRunti...
[mirror_edk2.git] / EmbeddedPkg / Ebl / Network.c
index c566dda49ad7e62551f20bb07cdfdbb88aeae015..7d3d553bb31e4547afb6c2853d6058568fd42906 100644 (file)
@@ -1,9 +1,9 @@
 /** @file\r
   EBL commands for Network Devices\r
 \r
-  Copyright (c) 2008-2009, Apple Inc. All rights reserved.\r
+  Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
-  All rights reserved. This program and the accompanying materials\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -21,13 +21,13 @@ ParseIp (
   OUT EFI_IP_ADDRESS  *Address\r
   )\r
 {\r
-  Address->v4.Addr[0] = AsciiStrDecimalToUintn(String);\r
+  Address->v4.Addr[0] = (UINT8)AsciiStrDecimalToUintn (String);\r
   String = AsciiStrStr(String, ".") + 1;\r
-  Address->v4.Addr[1] = AsciiStrDecimalToUintn(String);\r
+  Address->v4.Addr[1] = (UINT8)AsciiStrDecimalToUintn (String);\r
   String = AsciiStrStr(String, ".") + 1;\r
-  Address->v4.Addr[2] = AsciiStrDecimalToUintn(String);\r
+  Address->v4.Addr[2] = (UINT8)AsciiStrDecimalToUintn (String);\r
   String = AsciiStrStr(String, ".") + 1;\r
-  Address->v4.Addr[3] = AsciiStrDecimalToUintn(String);\r
+  Address->v4.Addr[3] = (UINT8)AsciiStrDecimalToUintn (String);\r
   \r
   return EFI_SUCCESS;\r
 }\r