]> git.proxmox.com Git - qemu.git/blobdiff - target-sh4/translate.c
Suppress gcc 4.x -Wpointer-sign (included in -Wall) warnings
[qemu.git] / target-sh4 / translate.c
index 82f4168f41d66117f065c0fb315ea10054e4f71a..b9dcbc2f038dee740fcde96c467b98619b63e09b 100644 (file)
@@ -183,7 +183,7 @@ void cpu_sh4_reset(CPUSH4State * env)
 }
 
 typedef struct {
-    const unsigned char *name;
+    const char *name;
     int id;
     uint32_t pvr;
     uint32_t prr;
@@ -206,7 +206,7 @@ static sh4_def_t sh4_defs[] = {
     },
 };
 
-static const sh4_def_t *cpu_sh4_find_by_name(const unsigned char *name)
+static const sh4_def_t *cpu_sh4_find_by_name(const char *name)
 {
     int i;