diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-30 20:20:37 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-30 20:20:37 +0000 |
commit | e70c3793273a1d5bb8d22aa834596f44e1ca2779 (patch) | |
tree | 3e86cc7e601a92755247a6d8bf31751954976772 | |
parent | 33e4913c5d57fb55d18d22462573dd96308d8970 (diff) | |
download | edk2-platforms-e70c3793273a1d5bb8d22aa834596f44e1ca2779.tar.xz |
Fix VS2003 cast issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9875 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | EmbeddedPkg/Ebl/Network.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/EmbeddedPkg/Ebl/Network.c b/EmbeddedPkg/Ebl/Network.c index c566dda49a..edd09eccd5 100644 --- a/EmbeddedPkg/Ebl/Network.c +++ b/EmbeddedPkg/Ebl/Network.c @@ -21,13 +21,13 @@ ParseIp ( OUT EFI_IP_ADDRESS *Address
)
{
- Address->v4.Addr[0] = AsciiStrDecimalToUintn(String);
+ Address->v4.Addr[0] = (UINT8)AsciiStrDecimalToUintn (String);
String = AsciiStrStr(String, ".") + 1;
- Address->v4.Addr[1] = AsciiStrDecimalToUintn(String);
+ Address->v4.Addr[1] = (UINT8)AsciiStrDecimalToUintn (String);
String = AsciiStrStr(String, ".") + 1;
- Address->v4.Addr[2] = AsciiStrDecimalToUintn(String);
+ Address->v4.Addr[2] = (UINT8)AsciiStrDecimalToUintn (String);
String = AsciiStrStr(String, ".") + 1;
- Address->v4.Addr[3] = AsciiStrDecimalToUintn(String);
+ Address->v4.Addr[3] = (UINT8)AsciiStrDecimalToUintn (String);
return EFI_SUCCESS;
}
|