diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2023-05-05 09:51:11 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-05-06 17:48:49 +0000 |
commit | 66494e532450c1205be93015740580c1e7b8877a (patch) | |
tree | 287beaaaa0272420e1fb97ecccce74617cdece54 | |
parent | eabaeb0613c0b459db950ab655f99ada9389d0cf (diff) | |
download | edk2-66494e532450c1205be93015740580c1e7b8877a.tar.gz edk2-66494e532450c1205be93015740580c1e7b8877a.tar.bz2 edk2-66494e532450c1205be93015740580c1e7b8877a.zip |
MdeModulePkg/CapsuleApp: Add EFIAPI to CompareFileNameInAlphabet()
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4446
CompareFileNameInAlphabet() is passed as a function pointer
parameter and typecast to type SORT_COMPARE that is declared
with EFIAPI. Add EFIAPI to CompareFileNameInAlphabet() to match
SORT_COMPARE type.
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
-rw-r--r-- | MdeModulePkg/Application/CapsuleApp/CapsuleDump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c b/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c index 26ad60ce59..7605153e97 100644 --- a/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c +++ b/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c @@ -632,6 +632,7 @@ SplitFileNameExtension ( **/
INTN
+EFIAPI
CompareFileNameInAlphabet (
IN VOID *Left,
IN VOID *Right
|