dxdiagn: PhysicalMemory parameter is a string not long long

Vitaliy Margolen wine-devel at kievinfo.com
Sat May 31 12:21:44 CDT 2008


Alexandre Julliard wrote:
> Vitaliy Margolen <wine-devel at kievinfo.com> writes:
> 
>> Well it really should be "%llu" but Wine doesn't support that. "%lu"
>> is used btw at least in one place in the code:
>> http://source.winehq.org/source/dlls/ntdll/actctx.c#L1746
> 
> It's the correct format for a ULONG_PTR.
> 
Oh right missed the part that ULONG_PTR is 64-bit on win64 only.

>> What should it be then? The same as wine_dbgstr_longlong?
> 
> I doubt you want it to be in hex. You should use something like
> VariantChangeType.
> 

Patch resent. Thanks for suggestion.

Vitaliy.



More information about the wine-devel mailing list