Sync to Wine-20050725:
Mike McCormack <mike(a)codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).
Modified: trunk/reactos/lib/mpr/pwcache.c
_____
Modified: trunk/reactos/lib/mpr/pwcache.c
--- trunk/reactos/lib/mpr/pwcache.c 2005-08-12 16:53:07 UTC (rev
17329)
+++ trunk/reactos/lib/mpr/pwcache.c 2005-08-12 16:59:41 UTC (rev
17330)
@@ -108,7 +108,7 @@
if( valname )
{
r = RegSetValueExA( hkey, valname, 0, REG_BINARY,
- pbPassword, cbPassword );
+ (LPBYTE)pbPassword, cbPassword );
if( r )
r = WN_CANCEL;
else
@@ -202,7 +202,7 @@
if( valname )
{
sz = *pcbPassword;
- r = RegQueryValueExA( hkey, valname, 0, &type, pbPassword, &sz
);
+ r = RegQueryValueExA( hkey, valname, 0, &type,
(LPBYTE)pbPassword, &sz );
*pcbPassword = sz;
if( r )
r = WN_CANCEL;
Show replies by date