[U-Boot] [PATCH] CM4008: fix signedness of env bootargs string pointer

Wolfgang Denk wd at denx.de
Sat Sep 10 16:10:09 CEST 2011


Dear Greg Ungerer,

In message <1315643800-10579-1-git-send-email-greg.ungerer at opengear.com> you wrote:
> The pointer to the flash based bootargs should be a "char *", not unsigned.
> Fixes:
> 
> cm4008.c: In function ‘env_flash_cmdline’:
> cm4008.c:67: warning: pointer targets in passing argument 2 of ‘setenv’ differ in signedness
> 
> Signed-off-by: Greg Ungerer <greg.ungerer at opengear.com>
> ---
>  board/cm4008/cm4008.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Randal said it would be tough to do in sed. He didn't say  he  didn't
understand  sed.  Randal  understands sed quite well. Which is why he
uses Perl. :-)         - Larry Wall in <7874 at jpl-devvax.JPL.NASA.GOV>


More information about the U-Boot mailing list