The pointer to the flash based bootargs should be a "char *", not unsigned.
Fixes:
cm41xx.c: In function ‘env_flash_cmdline’:
cm41xx.c:67: warning: pointer targets in passing argument 2 of ‘setenv’ differ in signedness
Signed-off-by: Greg Ungerer <greg.ungerer@opengear.com>
*/
int env_flash_cmdline (void)
{
- unsigned char *sp = (unsigned char *) 0x0201c020;
- unsigned char *ep;
+ char *sp = (char *) 0x0201c020;
+ char *ep;
int len;
/* Check if "erase" push button is depressed */