[PATCH] programs/find: use correct integral type

Eric Pouech eric.pouech at gmail.com
Wed Jan 26 01:43:52 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 programs/find/find.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/find/find.c b/programs/find/find.c
index 7d178874b4d..64c7f227728 100644
--- a/programs/find/find.c
+++ b/programs/find/find.c
@@ -29,7 +29,7 @@ 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 DWORD buffer_max = 0;
     static UINT buffer_pos = 0;
 
     /* Read next content into buffer */




More information about the wine-devel mailing list