Commit 86f76d2b authored by Mikhail Maroukhine's avatar Mikhail Maroukhine Committed by Alexandre Julliard

msi: Fix compiler warnings with flag -Wcast-qual.

parent 491a06d9
...@@ -4336,7 +4336,7 @@ static UINT ACTION_PublishFeatures(MSIPACKAGE *package) ...@@ -4336,7 +4336,7 @@ static UINT ACTION_PublishFeatures(MSIPACKAGE *package)
{ {
size += sizeof(WCHAR); size += sizeof(WCHAR);
RegSetValueExW(hkey,feature->Feature,0,REG_SZ, RegSetValueExW(hkey,feature->Feature,0,REG_SZ,
(LPBYTE)(feature->Feature_Parent ? feature->Feature_Parent : szEmpty),size); (const BYTE*)(feature->Feature_Parent ? feature->Feature_Parent : szEmpty),size);
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment