diff options
author | Martin Roth <martin@coreboot.org> | 2019-10-23 21:44:42 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-10-27 18:12:50 +0000 |
commit | 468d02cc82151366a2781c9af29e6737105495cb (patch) | |
tree | de8540c053517a4da8b00ea95f24579bd9223dcd /src/security | |
parent | 36fcc85be459ec175c7f4be08db7ae9708f01b5d (diff) | |
download | coreboot-468d02cc82151366a2781c9af29e6737105495cb.tar.xz |
src/[northbridge,security]: change "unsigned" to "unsigned int"
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: If6b5930f78c3da6dcefaa7b6202cd0424a24525b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36331
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/security')
-rw-r--r-- | src/security/vboot/vbnv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/vboot/vbnv.c b/src/security/vboot/vbnv.c index 0c4f33bc11..eccd743012 100644 --- a/src/security/vboot/vbnv.c +++ b/src/security/vboot/vbnv.c @@ -43,7 +43,7 @@ static inline uint8_t vbnv_data(int index) /* Return CRC-8 of the data, using x^8 + x^2 + x + 1 polynomial. */ static uint8_t crc8_vbnv(const uint8_t *data, int len) { - unsigned crc = 0; + unsigned int crc = 0; int i, j; for (j = len; j; j--, data++) { |