Rémi Bernon : fusion/tests: Fix some format-overflow warnings.

Alexandre Julliard julliard at winehq.org
Tue Feb 11 15:44:56 CST 2020


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

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Tue Feb 11 19:09:25 2020 +0100

fusion/tests: Fix some format-overflow warnings.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/fusion/tests/asmenum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/fusion/tests/asmenum.c b/dlls/fusion/tests/asmenum.c
index 115089e674..5892cfde7e 100644
--- a/dlls/fusion/tests/asmenum.c
+++ b/dlls/fusion/tests/asmenum.c
@@ -381,7 +381,7 @@ static void test_enumerate_name(void)
     IAssemblyName *asmname, *next;
     WCHAR buf[MAX_PATH];
     CHAR gac[MAX_PATH];
-    CHAR path[MAX_PATH];
+    CHAR path[MAX_PATH + 40];
     CHAR disp[MAX_PATH];
     WCHAR namestr[MAX_PATH];
     CHAR exp[6][MAX_PATH];




More information about the wine-cvs mailing list