Don't use a hex number for the event in the default string.

This commit is contained in:
Uwe Bonnes 2003-04-16 23:09:59 +00:00 committed by Alexandre Julliard
parent 639362bfb0
commit 0f6f92ec86
1 changed files with 2 additions and 1 deletions

View File

@ -304,7 +304,8 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
else
{
cmdline = HeapAlloc(GetProcessHeap(), 0, 80);
sprintf(cmdline, "winedbg --debugmsg -all --auto %ld %p", GetCurrentProcessId(), hEvent);
sprintf(cmdline, "winedbg --debugmsg -all --auto %ld %ld",
GetCurrentProcessId(), (ULONG_PTR)hEvent);
}
if (!bAuto)