Revision: 18553
          http://sourceforge.net/p/edk2/code/18553
Author:   lersek
Date:     2015-09-25 17:22:53 +0000 (Fri, 25 Sep 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".

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]>

Modified Paths:
--------------
    trunk/edk2/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c

Modified: trunk/edk2/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c  2015-09-25 
07:12:21 UTC (rev 18552)
+++ trunk/edk2/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c  2015-09-25 
17:22:53 UTC (rev 18553)
@@ -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

Reply via email to