msi: Cast-qual warnings fix.
diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c index ddeb3a6..e31e343 100644 --- a/dlls/msi/registry.c +++ b/dlls/msi/registry.c
@@ -334,7 +334,7 @@ LONG msi_reg_set_val_str( HKEY hkey, LPCWSTR name, LPCWSTR value ) { DWORD len = value ? (lstrlenW(value) + 1) * sizeof (WCHAR) : 0; - return RegSetValueExW( hkey, name, 0, REG_SZ, (LPBYTE)value, len ); + return RegSetValueExW( hkey, name, 0, REG_SZ, (const BYTE *)value, len ); } LONG msi_reg_set_val_multi_str( HKEY hkey, LPCWSTR name, LPCWSTR value ) @@ -342,7 +342,7 @@ LPCWSTR p = value; while (*p) p += lstrlenW(p) + 1; return RegSetValueExW( hkey, name, 0, REG_MULTI_SZ, - (LPBYTE)value, (p + 1 - value) * sizeof(WCHAR) ); + (const BYTE *)value, (p + 1 - value) * sizeof(WCHAR) ); } LONG msi_reg_set_val_dword( HKEY hkey, LPCWSTR name, DWORD val )