diff options
author | Subrata Banik <subrata.banik@intel.com> | 2021-03-25 19:32:51 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2021-03-27 04:22:31 +0000 |
commit | 299ee183c49d22cc90b4289789d8bb6d66145b97 (patch) | |
tree | 92241d7935c64b12215622d787444f66b0f69405 /src/mainboard/google | |
parent | 5558f7ba0f35b79772beeb3649a33012b7d13a3f (diff) |
soc/intel/common/block/gpio: Fix typecasting issue
This patch fixes unsigned conversion from 'int' to 'uint8_t'
{aka 'const unsigned char'} changes value from '-256' to '0'
[-Werror=overflow].
Change-Id: Ifcc42e5a2ff06f0af0eb96bef4c6044cbcdbd94b
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51766
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google')
0 files changed, 0 insertions, 0 deletions