]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Add missing "ULL" suffix on 64-bit constant
authorMichael Brown <mcb30@ipxe.org>
Mon, 3 Aug 2015 12:05:21 +0000 (13:05 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 3 Aug 2015 12:05:21 +0000 (13:05 +0100)
Older versions of gcc complain if this suffix is missing.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_watchdog.c

index 2876dc02287817619867ee389ebd78aafbeeddbe..7061f81d88bb7cb3da450972d4af37ad35eb63a7 100644 (file)
@@ -44,7 +44,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
 #define WATCHDOG_TIMEOUT_SECS ( 5 * 60 )
 
 /** Watchdog code (to be logged on watchdog timeout) */
-#define WATCHDOG_CODE 0x6950584544454144
+#define WATCHDOG_CODE 0x6950584544454144ULL
 
 /** Watchdog data (to be logged on watchdog timeout) */
 #define WATCHDOG_DATA L"iPXE";