From: Dave Korn Date: Sat, 4 Jul 2009 14:51:09 +0000 (+0000) Subject: * autoload.cc (AttachConsole): Correct size of args. X-Git-Tag: prefifo~85 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=38a58dd13cbf59fa3d24dd71df7c0640b85a0017;p=newlib-cygwin.git * autoload.cc (AttachConsole): Correct size of args. --- diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index fc4bf70e4..b58245635 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2009-07-04 Dave Korn + + * autoload.cc (AttachConsole): Correct size of args. + 2009-07-03 Christopher Faylor * dcrt0.cc (jit_debug): New global. diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 4a64e105a..bf6c2f137 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -409,7 +409,7 @@ LoadDLLfuncEx2 (SendARP, 16, iphlpapi, 1, 50) LoadDLLfunc (CoTaskMemFree, 4, ole32) -LoadDLLfuncEx (AttachConsole, 0, kernel32, 1) +LoadDLLfuncEx (AttachConsole, 4, kernel32, 1) LoadDLLfuncEx (FindFirstVolumeA, 8, kernel32, 1) LoadDLLfuncEx (FindNextVolumeA, 12, kernel32, 1) LoadDLLfuncEx (FindVolumeClose, 4, kernel32, 1)