shlwapi: Resupply array sizes stripped by function interface

Andrew Talbot Andrew.Talbot at talbotville.com
Mon Sep 25 12:06:31 CDT 2006


Dan Kegel wrote:

> Andrew Talbot wrote:
>>A formal parameter declared as an array is treated as a pointer; any size
>>specifier is ignored. So here, sizeof decimal_buffer, for example, would
>>equate to the size of a pointer to WCHAR, not to that of an array of eight
>>WCHARs.
> 
> Why are you doing this?
> - Dan

Hi Dan,

Are you asking why I am doing lightweight static code checking, or why I am
submitting this particular patch?

-- Andy.





More information about the wine-devel mailing list