Cleanup for GCC-4.x
[oweals/u-boot.git] / common / cmd_pcmcia.c
index 31f2ba2f69682a5029063278edddf712c015dff2..62446d4efebb2fdff4a3fe819895673e4212b08f 100644 (file)
@@ -2681,7 +2681,7 @@ static void print_fixed (volatile uchar *p)
 #define        MAX_IDENT_FIELDS        4
 
 static uchar *known_cards[] = {
-       "ARGOSY PnPIDE D5",
+       (uchar *)"ARGOSY PnPIDE D5",
        NULL
 };
 
@@ -2722,12 +2722,12 @@ static int identify  (volatile uchar *p)
                else
                        break;
        }
-       puts (id_str);
+       puts ((char *)id_str);
        putc ('\n');
 
        for (card=known_cards; *card; ++card) {
                debug ("## Compare against \"%s\"\n", *card);
-               if (strcmp(*card, id_str) == 0) {       /* found! */
+               if (strcmp((char *)*card, (char *)id_str) == 0) {       /* found! */
                        debug ("## CARD FOUND ##\n");
                        return (1);
                }