Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 843f2d0964bd0444fa6bdbb1ee79dc838cfa4452
      
https://github.com/tianocore/edk2/commit/843f2d0964bd0444fa6bdbb1ee79dc838cfa4452
  Author: Gerd Hoffmann <[email protected]>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M EmulatorPkg/Unix/Host/Gasket.h

  Log Message:
  -----------
  EmulatorPkg: fix build error.

GasketSecSetTime is EMU_SET_TIME and returns EFI_STATUS.  Fix the
declaration accordingly.  Fixes build error with gcc 14.

    /home/kraxel/projects/edk2/EmulatorPkg/Unix/Host/EmuThunk.c:429:3: error: 
initialization of ‘EFI_STATUS (__attribute__((ms_abi)) *)(EFI_TIME *)’ {aka 
‘long long unsigned int (__attribute__((ms_abi)) *)(EFI_TIME *)’} from 
incompatible pointer type ‘void (__attribute__((ms_abi)) *)(EFI_TIME *)’ 
[-Wincompatible-pointer-types]
      429 |   GasketSecSetTime,
          |   ^~~~~~~~~~~~~~~~

Signed-off-by: Gerd Hoffmann <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to