Revision: 17488
          http://sourceforge.net/p/edk2/code/17488
Author:   hwu1225
Date:     2015-05-21 01:46:31 +0000 (Thu, 21 May 2015)
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Qiu Shumin <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c

Modified: trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c
===================================================================
--- trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c    
2015-05-20 08:32:55 UTC (rev 17487)
+++ trunk/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c    
2015-05-21 01:46:31 UTC (rev 17488)
@@ -2793,7 +2793,7 @@
                                    (UINT16) sizeof (WIFI_DEVICE_PATH)
                                    );
 
-  AsciiStr = WiFiDp->SSId;
+  AsciiStr = (CHAR8 *) WiFiDp->SSId;
   StrToAscii (SSIdStr, &AsciiStr);
 
   return (EFI_DEVICE_PATH_PROTOCOL *) WiFiDp;


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to