Revision: 19389
http://sourceforge.net/p/edk2/code/19389
Author: vanjeff
Date: 2015-12-18 07:25:22 +0000 (Fri, 18 Dec 2015)
Log Message:
-----------
ShellPkg: UefiShellTftpCommandLib: fix incompatible pointer assignment
Add the missing EFIAPI calling convention to the CheckPacket() function.
Without it, the gcc build breaks due to the incompatible pointer
assignment in "Mtftp4Token.CheckPacket = CheckPacket".
(Sync patch r18553 from main trunk.)
Cc: Jaben Carsey <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/18553
Modified Paths:
--------------
branches/UDK2015/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
Modified: branches/UDK2015/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
===================================================================
--- branches/UDK2015/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
2015-12-18 07:01:30 UTC (rev 19388)
+++ branches/UDK2015/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
2015-12-18 07:25:22 UTC (rev 19389)
@@ -197,6 +197,7 @@
**/
STATIC
EFI_STATUS
+EFIAPI
CheckPacket (
IN EFI_MTFTP4_PROTOCOL *This,
IN EFI_MTFTP4_TOKEN *Token,
@@ -940,6 +941,7 @@
**/
STATIC
EFI_STATUS
+EFIAPI
CheckPacket (
IN EFI_MTFTP4_PROTOCOL *This,
IN EFI_MTFTP4_TOKEN *Token,
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits