Fix warnings

This commit is contained in:
RichardG867
2020-11-18 19:59:51 -03:00
parent 85a35e0841
commit fd08b2fdf1
3 changed files with 4 additions and 4 deletions

View File

@@ -320,7 +320,7 @@ cpu_get_family(const char *internal_name)
int c = 0;
while (cpu_families[c].package) {
if (!strcmp(internal_name, cpu_families[c].internal_name))
return &cpu_families[c];
return (cpu_family_t *) &cpu_families[c];
c++;
}

View File

@@ -1858,5 +1858,5 @@ const cpu_legacy_machine_t cpu_legacy_table[] = {
{"p6bap", cputables_Celeron_Cyrix3},
{"603tcf", cputables_Celeron_Cyrix3},
{"vpc2007", cputables_PentiumIID_Celeron},
{NULL, {NULL}}
{NULL, NULL}
};