[PATCH] ntdll: round section parameters on 0x200

Dmitry Timoshkov dmitry at codeweavers.com
Sun Nov 12 08:01:21 CST 2006


"Andrey Turkin" <pancha at mail.nnov.ru> wrote:

>     if (map_file_into_view( view, fd, 0, header_size, 0, VPROT_COMMITTED | VPROT_READ,
> -                            removable ) != STATUS_SUCCESS) goto error;
> +                            TRUE ) != STATUS_SUCCESS) goto error;

This chunk has nothin to do with the patch description and simply is wrong.

> -                            sec->PointerToRawData, (int)pos, file_size, map_size,
> +                            (int)start, (int)pos, file_size, map_size,
...
> -                        sec->PointerToRawData, sec->SizeOfRawData,
> +                        (int)start, sec->SizeOfRawData,

Please use a proper format specifier instead of a cast.

-- 
Dmitry.



More information about the wine-devel mailing list