Remove some redundant casts.

This commit is contained in:
Markus Armbruster 2005-06-12 08:17:13 +00:00
parent 4f59fc9967
commit 8585ec930f
7 changed files with 13 additions and 14 deletions

View file

@ -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;