find: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-01-26 08:43:52 +01:00 committed by Alexandre Julliard
parent 57a7d8b54c
commit 5a714bd99e
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(find);
static BOOL read_char_from_handle(HANDLE handle, char *char_out)
{
static char buffer[4096];
static UINT buffer_max = 0;
static UINT buffer_pos = 0;
static DWORD buffer_max = 0;
static DWORD buffer_pos = 0;
/* Read next content into buffer */
if (buffer_pos >= buffer_max)