consistent cast syntax

This commit is contained in:
nhmall
2023-11-13 19:28:19 -05:00
parent b4bb3b92a2
commit a7242760f7
12 changed files with 17 additions and 17 deletions

View File

@@ -504,9 +504,9 @@ zero_nhfile(NHFILE *nhfp)
nhfp->fieldlevel = FALSE;
nhfp->addinfo = FALSE;
nhfp->bendian = IS_BIGENDIAN();
nhfp->fpdef = (FILE *)0;
nhfp->fplog = (FILE *)0;
nhfp->fpdebug = (FILE *)0;
nhfp->fpdef = (FILE *) 0;
nhfp->fplog = (FILE *) 0;
nhfp->fpdebug = (FILE *) 0;
nhfp->count = 0;
nhfp->eof = FALSE;
nhfp->fnidx = 0;
@@ -1202,7 +1202,7 @@ restore_saved_game(void)
if ((nhfp = open_savefile()) != 0) {
if (validate(nhfp, fq_save, FALSE) != 0) {
close_nhfile(nhfp);
nhfp = (NHFILE *)0;
nhfp = (NHFILE *) 0;
(void) delete_savefile();
}
}