advapi32: Use variable of correct type to store LSTATUS result.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9429c1a2ec
commit
a388cc1ff9
|
@ -1019,7 +1019,7 @@ LSTATUS WINAPI RegQueryMultipleValuesA( HKEY hkey, PVALENTA val_list, DWORD num_
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
DWORD maxBytes = *ldwTotsize;
|
DWORD maxBytes = *ldwTotsize;
|
||||||
HRESULT status;
|
LSTATUS status;
|
||||||
LPSTR bufptr = lpValueBuf;
|
LPSTR bufptr = lpValueBuf;
|
||||||
*ldwTotsize = 0;
|
*ldwTotsize = 0;
|
||||||
|
|
||||||
|
@ -1065,7 +1065,7 @@ LSTATUS WINAPI RegQueryMultipleValuesW( HKEY hkey, PVALENTW val_list, DWORD num_
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
DWORD maxBytes = *ldwTotsize;
|
DWORD maxBytes = *ldwTotsize;
|
||||||
HRESULT status;
|
LSTATUS status;
|
||||||
LPSTR bufptr = (LPSTR)lpValueBuf;
|
LPSTR bufptr = (LPSTR)lpValueBuf;
|
||||||
*ldwTotsize = 0;
|
*ldwTotsize = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue