fs: Fix the wrong type of var
authorGao Guanhua <B22826@freescale.com>
Tue, 14 Apr 2009 06:37:35 +0000 (14:37 +0800)
committerWolfgang Denk <wd@denx.de>
Mon, 27 Apr 2009 22:35:27 +0000 (00:35 +0200)
commit351f40caf2f7806b2cefb93e077ea619b9f684e8
tree914754292e79a4c5947e0cc192743cc30ace5c84
parent05f474c4d0469bebc0bb05df60a39dc7fdf28e62
fs: Fix the wrong type of var

The filelen should be signed type, not unsigned type.
otherwise, The condition as below never take.
if (filelen < 0)

Signed-off-by: Gao Guanhua <B22826@freescale.com>
Signed-off-by: Dave Liu <daveliu@freescale.com>
common/cmd_ext2.c