Austin English : riched32: Fix a compiler warning on clang.

Alexandre Julliard julliard at winehq.org
Mon Sep 20 12:12:22 CDT 2010


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

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Sep 20 03:50:14 2010 -0500

riched32: Fix a compiler warning on clang.

---

 dlls/riched32/tests/editor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/riched32/tests/editor.c b/dlls/riched32/tests/editor.c
index 5cc269d..0fc913c 100644
--- a/dlls/riched32/tests/editor.c
+++ b/dlls/riched32/tests/editor.c
@@ -844,7 +844,7 @@ static void test_EM_POSFROMCHAR(void)
   /* Fails on builtin because horizontal scrollbar is not being shown */
   ok(pl.x < xpos ||
       broken(pl.x == xpos), /* Win9x, WinME and NT4 */
-      "EM_POSFROMCHAR reports x=%hd, expected value less than %d\n", pl.x, xpos);
+      "EM_POSFROMCHAR reports x=%d, expected value less than %d\n", pl.x, xpos);
   }
   DestroyWindow(hwndRichEdit);
 }




More information about the wine-cvs mailing list