Commit 21f95cf7 authored by Emmanuel Maillard's avatar Emmanuel Maillard Committed by Alexandre Julliard

- Fix NTDLL_wait_for_multiple_objects call in usr1_handler.

- Fix an error due to "invalid lvalue in assignment" with gcc 4 on Darwin 8.0.
parent 1492028a
......@@ -133,7 +133,7 @@ typedef struct ucontext SIGCONTEXT;
/* Float Registers access */
# define FLOAT_sig(reg_num, context) FLOATREG_sig(fpregs[reg_num], context)
# define FPSCR_sig(context) ((double)FLOATREG_sig(fpscr, context))
# define FPSCR_sig(context) FLOATREG_sig(fpscr, context)
/* Exception Registers access */
# define DAR_sig(context) EXCEPREG_sig(dar, context) /* Fault registers for coredump */
......@@ -584,7 +584,7 @@ static HANDLER_DEF(usr1_handler)
/* wait with 0 timeout, will only return once the thread is no longer suspended */
timeout.QuadPart = 0;
NTDLL_wait_for_multiple_objects( 0, NULL, 0, &timeout );
NTDLL_wait_for_multiple_objects( 0, NULL, 0, &timeout, 0 );
}
......
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