Eric Pouech : find: Use correct integral type.

Alexandre Julliard julliard at winehq.org
Wed Jan 26 15:57:29 CST 2022


Module: wine
Branch: master
Commit: 5a714bd99e57eec23d18848fdc216b526a1eb40a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5a714bd99e57eec23d18848fdc216b526a1eb40a

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Jan 26 08:43:52 2022 +0100

find: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/find/find.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/find/find.c b/programs/find/find.c
index 7d178874b4d..5b86325d1c2 100644
--- a/programs/find/find.c
+++ b/programs/find/find.c
@@ -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)




More information about the wine-cvs mailing list