diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/serdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serdi.c b/src/serdi.c index 604a54fa..ec961f5c 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -233,8 +233,8 @@ main(int argc, char** argv) } #ifdef _WIN32 - _setmode(fileno(stdin), _O_BINARY); - _setmode(fileno(stdout), _O_BINARY); + _setmode(_fileno(stdin), _O_BINARY); + _setmode(_fileno(stdout), _O_BINARY); #endif const uint8_t* input = (const uint8_t*)argv[a++]; |