commit | 1f8c832c7989305213c6ddd6728918c5e04ad122 | [log] [tgz] |
---|---|---|
author | lijuang <lijuang@codeaurora.org> | Wed Jun 20 18:21:19 2018 +0800 |
committer | lijuang <lijuang@codeaurora.org> | Wed Jun 20 18:21:19 2018 +0800 |
tree | d43ba4a5dbb4253dd9d0586fc45f31200298014e | |
parent | 5b2bda3dc613afc0d6c44de8fb5106d33bf7abf7 [diff] [blame] |
platform: msm_shared: Fix partition offset overflow in avb The partition offset maybe is more than 32bit, so define the UINTN as uint64_t instead of uintptr_t to fix this problem. Change-Id: I2b61ac962abf1009de5950113eb7222e44809cfd
diff --git a/platform/msm_shared/include/verifiedboot.h b/platform/msm_shared/include/verifiedboot.h index 9e16982..7534c14 100644 --- a/platform/msm_shared/include/verifiedboot.h +++ b/platform/msm_shared/include/verifiedboot.h
@@ -105,7 +105,7 @@ typedef int16_t INT16; typedef int32_t INT32; typedef int64_t INT64; -typedef uintptr_t UINTN; +typedef uint64_t UINTN; typedef enum { VB_UNDEFINED_HASH = 0,