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:
Sebastian Lackner 2016-09-13 09:02:07 +02:00 committed by Alexandre Julliard
parent 9429c1a2ec
commit a388cc1ff9
1 changed files with 2 additions and 2 deletions

View File

@ -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;