summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/dvips.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipsk/dvips.h')
-rw-r--r--Build/source/texk/dvipsk/dvips.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipsk/dvips.h b/Build/source/texk/dvipsk/dvips.h
index 74025cdb90f..6cc1389dcaa 100644
--- a/Build/source/texk/dvipsk/dvips.h
+++ b/Build/source/texk/dvipsk/dvips.h
@@ -330,9 +330,9 @@ struct papsiz {
#include <fcntl.h>
#define O_BINARY _O_BINARY
#define register
-#define SET_BINARY(fd) _setmode((fd), _O_BINARY)
+#define SET_BINARY(fd) (void)_setmode((fd), _O_BINARY)
#else /* !WIN32 */
-#define SET_BINARY(fd) 0
+#define SET_BINARY(fd) (void)0
#endif
#if defined(DEVICESEP)