Fixed the last bugs revealed by GCC 7.1.0;

Applied the mainline PCem HDD controller reorder commit.
This commit is contained in:
OBattler
2017-07-17 13:34:27 +02:00
parent ea60b150b6
commit e7c0312abd
4 changed files with 13 additions and 13 deletions

View File

@@ -1491,7 +1491,7 @@ void fdc_callback(void *priv)
case -1: /*Reset*/
fdc_int();
fdc.fintr = 0;
memset(fdc.pcn, 0, 4);
memset(fdc.pcn, 0, 4 * sizeof(int));
fdc_reset_stat = 4;
return;
case 1: /*Mode*/