commit | 7ea191aa10c43b5497d171ab6f48e633e6779468 | [log] [tgz] |
---|---|---|
author | Ye.Li <B37916@freescale.com> | Mon Jan 04 15:26:30 2016 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Thu Jan 07 17:48:25 2016 +0100 |
tree | d7541475e53f9cee87eb709f7a339ffdb9812b4e | |
parent | 59a6ca54f5db0f3d99ca3bc581ccadc6019e5034 [diff] |
pfuze: Fix unsigned variable for less-than-zero comparison According to the Coverity result, a unsigned int variable is used fo less- than-zero comparison, the result is never true. Need to fix the variable type to signed int. Signed-off-by: Ye.Li <B37916@freescale.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Stefano Babic <sbabic@denx.de>