Remove some redundant casts.
This commit is contained in:
parent
4f59fc9967
commit
8585ec930f
7 changed files with 13 additions and 14 deletions
|
@ -1115,8 +1115,8 @@ write_file(void)
|
|||
{
|
||||
int n;
|
||||
|
||||
if ((n = fwrite((void *)sectsbuf, sizeof(struct sctstr),
|
||||
YSIZE * XSIZE, sect_fptr)) <= 0) {
|
||||
n = fwrite(sectsbuf, sizeof(struct sctstr), YSIZE * XSIZE, sect_fptr);
|
||||
if (n <= 0) {
|
||||
perror(empfile[EF_SECTOR].file);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue