Michael Stefaniuc : riched20/tests: Remove a superfluous function pointer cast.

Alexandre Julliard julliard at winehq.org
Fri Nov 30 13:48:21 CST 2012


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Nov 30 14:05:01 2012 +0100

riched20/tests: Remove a superfluous function pointer cast.

---

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

diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c
index fa80def..d72b4e1 100644
--- a/dlls/riched20/tests/editor.c
+++ b/dlls/riched20/tests/editor.c
@@ -5173,7 +5173,7 @@ static void test_EM_StreamIn_Undo(void)
   char buffer[1024] = {0};
   const char randomtext[] = "Some text";
 
-  es.pfnCallback = (EDITSTREAMCALLBACK) EditStreamCallback;
+  es.pfnCallback = EditStreamCallback;
 
   /* StreamIn, no SFF_SELECTION */
   es.dwCookie = nCallbackCount;




More information about the wine-cvs mailing list