shlwapi: Cast-qual warnings fix (2 of 4)

Andrew Talbot Andrew.Talbot at talbotville.com
Thu Nov 16 11:42:20 CST 2006


Dimi Paun wrote:

> 
> On Wed, November 15, 2006 5:02 pm, Andrew Talbot wrote:
>> -  static const WCHAR szProperty[] = {
>> +  static WCHAR szProperty[] = { '{','D','0','F','C','A','4','2','0',
> 
> If they aren't constant, shouldn't they be non-static too?
> 

Hi Dimi,

As I understand it, declaring them static means that the storage will be
assigned and initialised at compile time, rather than run time, since the
size and contents are already known.

-- Andy.





More information about the wine-devel mailing list