mirror of
https://github.com/fachat/xa65.git
synced 2024-06-17 20:29:32 +00:00
Remove weird cast, if you want to compare a pointer to NULL, compare it
to NULL NULL isn't guaranteed to be 0, so just compare fp to NULL.
This commit is contained in:
parent
5cdf223e2b
commit
66ec83c2f0
|
@ -792,7 +792,7 @@ int pp_open(char *name)
|
|||
flist[0].filep=fp;
|
||||
flist[0].flinep=NULL;
|
||||
|
||||
return(((long)fp)==0l);
|
||||
return fp == NULL;
|
||||
}
|
||||
|
||||
void pp_close(void)
|
||||
|
|
Loading…
Reference in New Issue
Block a user