mirror of https://github.com/acidanthera/audk.git
MdePkg: Resolve type mismatch in node/text conversion for Wifi device
Function DevPathFromTextWiFi() in use UINT8* and CHAR8* interchangeably, which breaks the build on ARM. Pointer type conversion is added to resolved this problem. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17488 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
63bdd27a4f
commit
1d13077bed
|
@ -2793,7 +2793,7 @@ DevPathFromTextWiFi (
|
|||
(UINT16) sizeof (WIFI_DEVICE_PATH)
|
||||
);
|
||||
|
||||
AsciiStr = WiFiDp->SSId;
|
||||
AsciiStr = (CHAR8 *) WiFiDp->SSId;
|
||||
StrToAscii (SSIdStr, &AsciiStr);
|
||||
|
||||
return (EFI_DEVICE_PATH_PROTOCOL *) WiFiDp;
|
||||
|
|
Loading…
Reference in New Issue