)\r
{\r
UINT16 PrefixLen;\r
- UINT8 *BootFileNamePtr;\r
- UINT8 *BootFileName;\r
+ CHAR8 *BootFileNamePtr;\r
+ CHAR8 *BootFileName;\r
UINT16 BootFileNameLen;\r
CHAR8 *TmpStr;\r
CHAR8 TmpChar;\r
//\r
// Get the part of BOOTFILE_NAME string.\r
//\r
- BootFileNamePtr = (UINT8*)((UINTN)ServerAddress + 1);\r
+ BootFileNamePtr = (CHAR8*)((UINTN)ServerAddress + 1);\r
if (*BootFileNamePtr != PXEBC_TFTP_URL_SEPARATOR) {\r
FreePool (TmpStr);\r
return EFI_INVALID_PARAMETER;\r
//\r
// Extract boot file name from URL.\r
//\r
- BootFileName = (UINT8 *) AllocateZeroPool (BootFileNameLen);\r
+ BootFileName = (CHAR8 *) AllocateZeroPool (BootFileNameLen);\r
if (BootFileName == NULL) {\r
FreePool (TmpStr);\r
return EFI_OUT_OF_RESOURCES;\r
}\r
- *FileName = BootFileName;\r
+ *FileName = (UINT8*) BootFileName;\r
\r
//\r
// Decode percent-encoding in boot file name.\r