oleaut32: Add a VT_INT_PTR case for VARIANT_UserSize

Paul Vriens paul.vriens.wine at gmail.com
Tue Mar 2 10:29:12 CST 2010


On 03/02/2010 05:26 PM, Nikolay Sivov wrote:
> On 3/2/2010 19:21, Paul Vriens wrote:
>> On 03/02/2010 05:16 PM, Nikolay Sivov wrote:
>>> On 3/2/2010 19:01, Alexandre Julliard wrote:
>>>> Nikolay Sivov<nsivov at codeweavers.com> writes:
>>>>
>>>>> @@ -239,6 +239,8 @@ static unsigned int get_type_size(ULONG *pFlags,
>>>>> VARTYPE vt)
>>>>> case VT_DISPATCH:
>>>>> case VT_RECORD:
>>>>> return 0;
>>>>> + case VT_INT_PTR:
>>>>> + return sizeof(INT_PTR);
>>>> This won't do the right thing on 64-bit.
>>> Unfortunately I don't have a 64bit to cross-build a test on it. Should
>>> it just be 4? or there's something more complicated?
>>
>> Couldn't you just submit the patch to winetestbot and run the tests on
>> 64bit boxes only?
>>
> Will it build as 64bit executable?

I think it does both 32bit and 64bit.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list