]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/cm41xx/cm41xx.c
CM41xx: fix signedness of env bootargs string pointer
[karo-tx-uboot.git] / board / cm41xx / cm41xx.c
index 02d05afef6e824b618e872670a3af75c7e6723e2..9a6d89fdc6d18b765dd8d961be49cae898993ec8 100644 (file)
@@ -46,8 +46,8 @@ DECLARE_GLOBAL_DATA_PTR;
  */
 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 */