Remove some redundant casts.
This commit is contained in:
parent
4f59fc9967
commit
8585ec930f
7 changed files with 13 additions and 14 deletions
|
@ -160,7 +160,7 @@ gamedown(void)
|
|||
return 0;
|
||||
if ((down_fp = fopen(downfil, "rb")) == NULL)
|
||||
return 0;
|
||||
if (fread((void *)&tgm, sizeof(tgm), 1, down_fp) != 1) {
|
||||
if (fread(&tgm, sizeof(tgm), 1, down_fp) != 1) {
|
||||
logerror("bad header on login message (downfil)");
|
||||
fclose(down_fp);
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue