mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
winebrowser: Cast-qual warnings fix.
This commit is contained in:
parent
457ce21fcf
commit
50e649087a
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue