X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=UnixPkg%2FSec%2FIa32%2FGasketTemplate.c;h=bb703bf6315487fb80501ac7d0a03f6cd6757ef0;hb=2ec364f9bf0a66e56e752088aa3e7b124262d2a5;hp=8ff801d72e1c72115547044d03f5531f082eb4c2;hpb=d0d41b52e06296fc148470f18eb6aaddfef36bdc;p=mirror_edk2.git diff --git a/UnixPkg/Sec/Ia32/GasketTemplate.c b/UnixPkg/Sec/Ia32/GasketTemplate.c index 8ff801d72e..bb703bf631 100644 --- a/UnixPkg/Sec/Ia32/GasketTemplate.c +++ b/UnixPkg/Sec/Ia32/GasketTemplate.c @@ -35,6 +35,7 @@ typedef UINT32 UINTN; typedef int (*GASKET_VOID) (); typedef int (*GASKET_UINTN) (UINTN); +typedef int (*GASKET_UINT64) (UINT64); typedef int (*GASKET_UINTN_UINTN) (UINTN, UINTN); typedef int (*GASKET_UINTN_UINTN_UINTN) (UINTN, UINTN, UINTN); typedef int (*GASKET_UINTN_UINTN_UINTN_UINTN) (UINTN, UINTN, UINTN, UINTN); @@ -143,7 +144,7 @@ ReverseGasketUint64 (void *api, UINT64 a) { GASKET_UINTN func; - func = (GASKET_UINTN)api; + func = (GASKET_UINT64)api; func (a); return; }