Explorar el Código

[efi] Add missing "ULL" suffix on 64-bit constant

Older versions of gcc complain if this suffix is missing.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown hace 9 años
padre
commit
989fe14ccd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/interface/efi/efi_watchdog.c

+ 1
- 1
src/interface/efi/efi_watchdog.c Ver fichero

@@ -44,7 +44,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
44 44
 #define WATCHDOG_TIMEOUT_SECS ( 5 * 60 )
45 45
 
46 46
 /** Watchdog code (to be logged on watchdog timeout) */
47
-#define WATCHDOG_CODE 0x6950584544454144
47
+#define WATCHDOG_CODE 0x6950584544454144ULL
48 48
 
49 49
 /** Watchdog data (to be logged on watchdog timeout) */
50 50
 #define WATCHDOG_DATA L"iPXE";

Loading…
Cancelar
Guardar