1
0
mirror of https://github.com/fachat/xa65.git synced 2024-06-09 14:29:29 +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:
compyx 2020-05-23 13:43:27 +02:00
parent 5cdf223e2b
commit 66ec83c2f0

View File

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