Open options file in binary mode

This fixes a gcc compile warning introduced by commit 1b0feaf3.
This commit is contained in:
Zeex 2016-07-02 19:50:23 +06:00
parent 48800fc738
commit 82ca375152

View File

@ -1233,7 +1233,7 @@ static void parserespf(char *filename,char *oname,char *ename,char *pname,
int argc;
long size;
if ((fp=fopen(filename,"r"))==NULL)
if ((fp=fopen(filename,"rb"))==NULL)
error(100,filename); /* error reading input file */
/* load the complete file into memory */
fseek(fp,0L,SEEK_END);