cmd: i2c: fix coverity issue
coverity scan reported issue: ** CID 583415: Integer handling issues (INTEGER_OVERFLOW) /cmd/i2c.c: 369 in do_i2c_write() change the length variable into type int. Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
Reference in New Issue
Block a user