Commit a31c7333 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

http access: kill a win32 warning

parent 86212309
......@@ -417,10 +417,10 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
0, KEY_READ, &h_key ) == ERROR_SUCCESS )
{
DWORD i_dataReadSize = 4; /* sizeof( DWORD ); */
DWORD proxyEnable = 0;
BYTE proxyEnable = 0;
/* Get the proxy enable value */
if( RegQueryValueEx( h_key, "ProxyEnable", NULL, NULL,
(char *)&proxyEnable, &i_dataReadSize )
&proxyEnable, &i_dataReadSize )
== ERROR_SUCCESS )
{
if( proxyEnable )
......@@ -429,7 +429,7 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
char psz_key[256];
i_dataReadSize = 256;
if( RegQueryValueEx( h_key, "ProxyServer",
NULL, NULL, psz_key,
NULL, NULL, (unsigned char *)psz_key,
&i_dataReadSize )
== ERROR_SUCCESS )
{
......
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