ntdll: fix a couple compiler warnings on OpenSolaris

Francois Gouget fgouget at free.fr
Tue Mar 3 04:55:00 CST 2009


> +    wine_set_fs( thread_data->fs );
> +    wine_set_gs( thread_data->gs );
> +#endif
> +
>      /* get %fs and %gs at time of the fault */
>  #ifdef FS_sig
>      *fs = LOWORD(FS_sig(sigcontext));

Isn't it a problem to move wine_set_{fs,gs}() just before code that 
purports to 'get %fs and %gs at time of the fault'?

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
                  Hiroshima '45 - Czernobyl '86 - Windows '95



More information about the wine-devel mailing list