- 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.
oldstable
Emmanuel Maillard 2005-05-05 09:49:13 +00:00 committed by Alexandre Julliard
parent 1492028a96
commit 21f95cf761
1 changed files with 2 additions and 2 deletions

View File

@ -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 );
}