winebrowser: Cast-qual warnings fix.

This commit is contained in:
Andrew Talbot 2006-10-06 20:41:16 +01:00 committed by Alexandre Julliard
parent 457ce21fcf
commit 50e649087a

View file

@ -94,7 +94,7 @@ static int open_http_url( const char *url )
if (r != ERROR_SUCCESS)
{
/* set value to the default */
RegSetValueExA( key, "Browsers", 0, REG_SZ, (LPBYTE)defaultbrowsers,
RegSetValueExA( key, "Browsers", 0, REG_SZ, (const BYTE *)defaultbrowsers,
lstrlen( defaultbrowsers ) + 1 );
strcpy( browsers, defaultbrowsers );
}
@ -126,7 +126,7 @@ static int open_mailto_url( const char *url )
if (r != ERROR_SUCCESS)
{
/* set value to the default */
RegSetValueExA( key, "Mailers", 0, REG_SZ, (LPBYTE)defaultmailers,
RegSetValueExA( key, "Mailers", 0, REG_SZ, (const BYTE *)defaultmailers,
lstrlen( defaultmailers ) + 1 );
strcpy( mailers, defaultmailers );
}