Explicitly use the ULL suffix to specify a large constant.

This hopefully fixes the ARM build error.

TBR = wad@chromium.org

Review URL: http://codereview.chromium.org/1591001
This commit is contained in:
Gaurav Shah
2010-03-30 00:37:38 -07:00
parent e450be4ce4
commit d0f3298bb1
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
#include "utility.h"
/* Choose a firmware size greater than the range of 32-bits unsigned. */
#define BIG_FIRMWARE_SIZE ((uint64_t) 0x100000000)
#define BIG_FIRMWARE_SIZE ((uint64_t) 0x100000000ULL)
#define ROOT_KEY_BASE_NAME "testkeys/key_rsa8192"
#define FIRMWARE_KEY_BASE_NAME "testkeys/key_rsa1024"

View File

@@ -16,7 +16,7 @@
#include "utility.h"
/* Choose a kernel size greater than the range of 32-bits unsigned. */
#define BIG_KERNEL_SIZE ((uint64_t) 0x100000000)
#define BIG_KERNEL_SIZE ((uint64_t) 0x100000000ULL)
#define FIRMWARE_KEY_BASE_NAME "testkeys/key_rsa2048"
#define KERNEL_KEY_BASE_NAME "testkeys/key_rsa1024"