Sync to Wine-20050830:
[reactos.git] / reactos / lib / shell32 / shellreg.c
index 700ab51..a34f00f 100644 (file)
@@ -95,7 +95,7 @@ HRESULT WINAPI SHRegQueryValueW(
 {
        WARN("%p %s %p %p semi-stub\n",
                hkey, debugstr_w(lpszSubKey), lpszData, lpcbData);
-       return RegQueryValueW( hkey, lpszSubKey, lpszData, lpcbData );
+       return RegQueryValueW( hkey, lpszSubKey, lpszData, (LONG*)lpcbData );
 }
 
 /*************************************************************************