Win64 patch 3/6 (resend)

Dmitry Timoshkov dmitry at codeweavers.com
Tue Jul 25 02:03:27 CDT 2006


"Ge van Geldorp" <ge at gse.nl> wrote:

> > Why is this required? Is that due to asserts in server/request.c,
> > open_master_socket() ?
> 
> Exactly.

What exactly size is required then to avoid an assert?

> > Is changing 'int' to 'long' a better fix?
> 
> Perhaps. It would become 
> 
> struct request_max_size
> {
>    long pad[10];
>    int pad1[6];
> };
> 
> then, which seems just as arbitrary.

No, I meant to make it irrespective to 32 or 64-bit compilation,
i.e. look like:

struct request_max_size
{
    long pad[16];
};

-- 
Dmitry.



More information about the wine-devel mailing list