Michael Stefaniuc : riched20/tests: Use better types than long.

Alexandre Julliard julliard at winehq.org
Mon Apr 20 11:33:06 CDT 2009


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Apr 17 10:34:37 2009 +0200

riched20/tests: Use better types than long.

---

 dlls/riched20/tests/editor.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c
index 78a9541..1b9e244 100644
--- a/dlls/riched20/tests/editor.c
+++ b/dlls/riched20/tests/editor.c
@@ -445,7 +445,7 @@ static int get_scroll_pos_y(HWND hwnd)
   return p.y;
 }
 
-static void move_cursor(HWND hwnd, long charindex)
+static void move_cursor(HWND hwnd, LONG charindex)
 {
   CHARRANGE cr;
   cr.cpMax = charindex;
@@ -4211,9 +4211,9 @@ static void test_EM_GETMODIFY(void)
 }
 
 struct exsetsel_s {
-  long min;
-  long max;
-  long expected_retval;
+  LONG min;
+  LONG max;
+  LRESULT expected_retval;
   int expected_getsel_start;
   int expected_getsel_end;
   int _getsel_todo_wine;




More information about the wine-cvs mailing list