summaryrefslogtreecommitdiff
path: root/tests/firmware_image_tests.c
diff options
context:
space:
mode:
authorGaurav Shah <gauravsh@google.com>2010-03-10 18:38:45 -0800
committerGaurav Shah <gauravsh@google.com>2010-03-10 18:38:45 -0800
commit456678b0c45d9fa6ad45d5dc6769051a731207f3 (patch)
tree134e4591174a80b97e11169104e8f288fa494f6b /tests/firmware_image_tests.c
parenta6fb7a6f5cc88744d7cd948b05b3d90344c63749 (diff)
downloadvboot-456678b0c45d9fa6ad45d5dc6769051a731207f3.tar.gz
Vboot Reference: Make length types explicitly sized.
Review URL: http://codereview.chromium.org/744002
Diffstat (limited to 'tests/firmware_image_tests.c')
-rw-r--r--tests/firmware_image_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/firmware_image_tests.c b/tests/firmware_image_tests.c
index 8bb16c6d..686af548 100644
--- a/tests/firmware_image_tests.c
+++ b/tests/firmware_image_tests.c
@@ -160,11 +160,11 @@ int VerifyFirmwareImageTamperTest(FirmwareImage* image,
}
int main(int argc, char* argv[]) {
- uint32_t len;
+ uint64_t len;
uint8_t* firmware_sign_key_buf = NULL;
uint8_t* root_key_blob = NULL;
uint8_t* firmware_blob = NULL;
- int firmware_blob_len = 0;
+ uint64_t firmware_blob_len = 0;
FirmwareImage* image = NULL;
RSAPublicKey* root_key = NULL;
int error_code = 1;