Remove a bunch of redundant casts.
This commit is contained in:
parent
ee6d72f3b8
commit
4f59fc9967
125 changed files with 417 additions and 432 deletions
|
@ -117,7 +117,7 @@ rea(void)
|
|||
lastdate = 0;
|
||||
lastcnum = -1;
|
||||
lasttype = -1;
|
||||
while (fread((s_char *)&tgm, sizeof(tgm), 1, telfp) == 1) {
|
||||
while (fread(&tgm, sizeof(tgm), 1, telfp) == 1) {
|
||||
readit = 1;
|
||||
if (tgm.tel_length < 0) {
|
||||
logerror("bad telegram file header in %s", mbox);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue