diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-09 09:30:52 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-09 09:30:52 +0000 |
commit | 67a58d0ffddc625bda615b9fb2b335e8d7ab979f (patch) | |
tree | 39af299d9d1b5fd25c7ed051336327736b2cd138 /MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Option.c | |
parent | 0c6bbb63f98b5e62f60511cac1cc12c070888191 (diff) | |
download | edk2-67a58d0ffddc625bda615b9fb2b335e8d7ab979f.zip edk2-67a58d0ffddc625bda615b9fb2b335e8d7ab979f.tar.gz edk2-67a58d0ffddc625bda615b9fb2b335e8d7ab979f.tar.bz2 |
Clean up Network Components to support GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4062 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Option.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Option.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Option.c b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Option.c index b85784a..64932ae 100644 --- a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Option.c +++ b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Option.c @@ -21,7 +21,7 @@ Abstract: #include "Mtftp4Impl.h"
-UINT8 *mMtftp4SupportedOptions[MTFTP4_SUPPORTED_OPTIONS] = {
+CHAR8 *mMtftp4SupportedOptions[MTFTP4_SUPPORTED_OPTIONS] = {
"blksize",
"timeout",
"tsize",
@@ -438,7 +438,7 @@ Mtftp4ParseOption ( return EFI_INVALID_PARAMETER;
}
- if (NetStringEqualNoCase (This->OptionStr, "blksize")) {
+ if (NetStringEqualNoCase (This->OptionStr, (UINT8 *) "blksize")) {
//
// block size option, valid value is between [8, 65464]
//
@@ -451,7 +451,7 @@ Mtftp4ParseOption ( MtftpOption->BlkSize = (UINT16) Value;
MtftpOption->Exist |= MTFTP4_BLKSIZE_EXIST;
- } else if (NetStringEqualNoCase (This->OptionStr, "timeout")) {
+ } else if (NetStringEqualNoCase (This->OptionStr, (UINT8 *) "timeout")) {
//
// timeout option, valid value is between [1, 255]
//
@@ -463,14 +463,14 @@ Mtftp4ParseOption ( MtftpOption->Timeout = (UINT8) Value;
- } else if (NetStringEqualNoCase (This->OptionStr, "tsize")) {
+ } else if (NetStringEqualNoCase (This->OptionStr, (UINT8 *) "tsize")) {
//
// tsize option, the biggest transfer supported is 4GB with block size option
//
MtftpOption->Tsize = NetStringToU32 (This->ValueStr);
MtftpOption->Exist |= MTFTP4_TSIZE_EXIST;
- } else if (NetStringEqualNoCase (This->OptionStr, "multicast")) {
+ } else if (NetStringEqualNoCase (This->OptionStr, (UINT8 *) "multicast")) {
//
// Multicast option, if it is a request, the value must be a zero
// length string, otherwise, it is formated like "204.0.0.1,1857,1\0"
|