Re: secur32: Make AcceptSecurityContext behaviour consistent withWindows.

2006-08-14 Thread Kai Blin
On Monday 14 August 2006 08:52, Dmitry Timoshkov wrote: > "Kai Blin" <[EMAIL PROTECTED]> wrote: > > phNewContext->dwUpper = ctxt_attr; > > -phNewContext->dwLower = ret; > > +phNewContext->dwLower = (DWORD)helper; > > You need to cast to ULONG_PTR to make the code 64-bit saf

Re: secur32: Make AcceptSecurityContext behaviour consistent withWindows.

2006-08-13 Thread Dmitry Timoshkov
"Kai Blin" <[EMAIL PROTECTED]> wrote: phNewContext->dwUpper = ctxt_attr; -phNewContext->dwLower = ret; +phNewContext->dwLower = (DWORD)helper; You need to cast to ULONG_PTR to make the code 64-bit safe. Also please fix (DWORD)helper casts in other places. -- Dmitry.