diff options
Diffstat (limited to 'Build/source/texk/seetexk/dviselect.c')
-rw-r--r-- | Build/source/texk/seetexk/dviselect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/seetexk/dviselect.c b/Build/source/texk/seetexk/dviselect.c index f5a14667ea1..a1ab9ac67cf 100644 --- a/Build/source/texk/seetexk/dviselect.c +++ b/Build/source/texk/seetexk/dviselect.c @@ -25,7 +25,7 @@ #else #define FOPEN_RBIN_MODE "rb" #define FOPEN_RBIN_MODE "wb" -#define SET_BINARY(x) 0 +#define SET_BINARY(x) (void)0 extern char *optarg; extern int optind; #endif @@ -523,13 +523,13 @@ Usage: %s [-s] [-i infile] [-o outfile] pages [...] [infile [outfile]]\n", DVIFileName = "`stdin'"; inf = stdin; if (!isatty(fileno(inf))) - (void)SET_BINARY(fileno(inf)); + SET_BINARY(fileno(inf)); } else if ((inf = fopen(DVIFileName, FOPEN_RBIN_MODE)) == 0) error(1, -1, "cannot read %s", DVIFileName); if (outname == NULL) { outf = stdout; if (!isatty(fileno(outf))) - (void)SET_BINARY(fileno(outf)); + SET_BINARY(fileno(outf)); } else if ((outf = fopen(outname, FOPEN_WBIN_MODE)) == 0) error(1, -1, "cannot write %s", outname); |