diff options
author | marha <marha@users.sourceforge.net> | 2013-09-20 10:45:15 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-09-20 10:45:15 +0200 |
commit | 4888b09cfc72713f460dd7457fb2b7eca0abb91c (patch) | |
tree | 93e639fa2962bdfdce5575bb89ea9b658dd1d701 /tools/plink | |
parent | d7c7138ea6282e01e3ea6ccd420305c8021bee52 (diff) | |
download | vcxsrv-4888b09cfc72713f460dd7457fb2b7eca0abb91c.tar.gz vcxsrv-4888b09cfc72713f460dd7457fb2b7eca0abb91c.tar.bz2 vcxsrv-4888b09cfc72713f460dd7457fb2b7eca0abb91c.zip |
Solved compile warnings (runtime errors?)1.14.3
Diffstat (limited to 'tools/plink')
-rw-r--r-- | tools/plink/winplink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/plink/winplink.c b/tools/plink/winplink.c index d82b81fb7..27c386c07 100644 --- a/tools/plink/winplink.c +++ b/tools/plink/winplink.c @@ -773,21 +773,21 @@ _Check_return_opt_ int __cdecl printf(_In_z_ _Printf_format_string_ const char * // redirect unbuffered STDOUT to the console
lStdHandle = (long)GetStdHandle(STD_OUTPUT_HANDLE);
hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
- fp = _fdopen( hConHandle, "w" );
+ fp = fdopen( hConHandle, "w" );
*stdout = *fp;
setvbuf( stdout, NULL, _IONBF, 0 );
// redirect unbuffered STDIN to the console
lStdHandle = (long)GetStdHandle(STD_INPUT_HANDLE);
hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
- fp = _fdopen( hConHandle, "r" );
+ fp = fdopen( hConHandle, "r" );
*stdin = *fp;
setvbuf( stdin, NULL, _IONBF, 0 );
// redirect unbuffered STDERR to the console
lStdHandle = (long)GetStdHandle(STD_ERROR_HANDLE);
hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
- fp = _fdopen( hConHandle, "w" );
+ fp = fdopen( hConHandle, "w" );
*stderr = *fp;
setvbuf( stderr, NULL, _IONBF, 0 );
|