Alexandre Julliard : shell32: Avoid a pointer cast in a trace.

Alexandre Julliard julliard at winehq.org
Thu Jan 8 08:31:06 CST 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jan  8 13:13:01 2009 +0100

shell32: Avoid a pointer cast in a trace.

---

 dlls/shell32/shelllink.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c
index b4a686e..3329fc8 100644
--- a/dlls/shell32/shelllink.c
+++ b/dlls/shell32/shelllink.c
@@ -2529,7 +2529,7 @@ ShellLink_InvokeCommand( IContextMenu* iface, LPCMINVOKECOMMANDINFO lpici )
 
     if ( lpici->lpVerb != MAKEINTRESOURCEA(This->iIdOpen) )
     {
-        ERR("Unknown id %d != %d\n", (INT)lpici->lpVerb, This->iIdOpen );
+        ERR("Unknown id %p != %d\n", lpici->lpVerb, This->iIdOpen );
         return E_INVALIDARG;
     }
 




More information about the wine-cvs mailing list