[PATCH 2/3] riched20: Reduce code duplication in WM_SETTEXT/WM_CREATE handler

Nikolay Sivov nsivov at codeweavers.com
Tue Jun 2 04:22:12 CDT 2015


On 06/02/2015 11:41 AM, Dmitry Timoshkov wrote:
> Nikolay Sivov <nsivov at codeweavers.com> wrote:
>
>> +  if (lParam)
>> +    text = unicode ? (void*)createW->lpszName : (void*)createA->lpszName;
>
> These casts should not be needed.
>

I get warnings without them, so I prefer to keep this as it was before 
my patch.



More information about the wine-devel mailing list