Commit 0f6f92ec authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

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

parent 639362bf
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment