winedos: Fix printf format warnings introduced by the TEB change in thread.h.

Michael Stefaniuc mstefani at redhat.de
Tue Jun 5 09:02:50 CDT 2007


---
 dlls/winedos/int31.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/winedos/int31.c b/dlls/winedos/int31.c
index 4bf16a9..a6bee2b 100644
--- a/dlls/winedos/int31.c
+++ b/dlls/winedos/int31.c
@@ -1347,21 +1347,21 @@ void WINAPI DOSVM_Int31Handler( CONTEXT86 *context )
         break;
 
     case 0x0900:  /* Get and Disable Virtual Interrupt State */
-        TRACE( "Get and Disable Virtual Interrupt State: %ld\n", 
+        TRACE( "Get and Disable Virtual Interrupt State: %d\n", 
                NtCurrentTeb()->dpmi_vif );
         SET_AL( context, NtCurrentTeb()->dpmi_vif ? 1 : 0 );
         NtCurrentTeb()->dpmi_vif = 0;
         break;
 
     case 0x0901:  /* Get and Enable Virtual Interrupt State */
-        TRACE( "Get and Enable Virtual Interrupt State: %ld\n", 
+        TRACE( "Get and Enable Virtual Interrupt State: %d\n", 
                NtCurrentTeb()->dpmi_vif );
         SET_AL( context, NtCurrentTeb()->dpmi_vif ? 1 : 0 );
         NtCurrentTeb()->dpmi_vif = 1;
         break;
 
     case 0x0902:  /* Get Virtual Interrupt State */
-        TRACE( "Get Virtual Interrupt State: %ld\n", 
+        TRACE( "Get Virtual Interrupt State: %d\n", 
                NtCurrentTeb()->dpmi_vif );
         SET_AL( context, NtCurrentTeb()->dpmi_vif ? 1 : 0 );
         break;
-- 
1.5.0.6


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070605/8fc90963/attachment.pgp


More information about the wine-patches mailing list