瀏覽代碼

[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 10 年之前
父節點
當前提交
989fe14ccd
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/interface/efi/efi_watchdog.c

+ 1
- 1
src/interface/efi/efi_watchdog.c 查看文件

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

Loading…
取消
儲存