[PATCH 08/20] dlls/riched20/tests: use correct integral type

Eric Pouech eric.pouech at gmail.com
Fri Mar 4 02:24:56 CST 2022


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

---
 dlls/riched20/tests/richole.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/riched20/tests/richole.c b/dlls/riched20/tests/richole.c
index c06be02bd89..8d8ba5b1e9d 100644
--- a/dlls/riched20/tests/richole.c
+++ b/dlls/riched20/tests/richole.c
@@ -947,7 +947,8 @@ static void test_ITextRange_GetStart_GetEnd(void)
   ITextDocument *txtDoc = NULL;
   ITextRange *txtRge = NULL;
   HRESULT hres;
-  int first, lim, start, end;
+  int first, lim;
+  LONG start, end;
   static const CHAR test_text1[] = "TestSomeText";
 
   create_interfaces(&w, &reOle, &txtDoc, NULL);
@@ -1166,7 +1167,8 @@ static void test_ITextSelection_GetStart_GetEnd(void)
   ITextDocument *txtDoc = NULL;
   ITextSelection *txtSel = NULL;
   HRESULT hres;
-  int first, lim, start, end;
+  int first, lim;
+  LONG start, end;
   static const CHAR test_text1[] = "TestSomeText";
 
   create_interfaces(&w, &reOle, &txtDoc, &txtSel);




More information about the wine-devel mailing list