Commit a388cc1f authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

advapi32: Use variable of correct type to store LSTATUS result.

parent 9429c1a2
......@@ -1019,7 +1019,7 @@ LSTATUS WINAPI RegQueryMultipleValuesA( HKEY hkey, PVALENTA val_list, DWORD num_
{
unsigned int i;
DWORD maxBytes = *ldwTotsize;
HRESULT status;
LSTATUS status;
LPSTR bufptr = lpValueBuf;
*ldwTotsize = 0;
......@@ -1065,7 +1065,7 @@ LSTATUS WINAPI RegQueryMultipleValuesW( HKEY hkey, PVALENTW val_list, DWORD num_
{
unsigned int i;
DWORD maxBytes = *ldwTotsize;
HRESULT status;
LSTATUS status;
LPSTR bufptr = (LPSTR)lpValueBuf;
*ldwTotsize = 0;
......
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