Module: Mesa
Branch: master
Commit: 8d1af5991d739e33962e8ca52c6a5ce1c9204ce6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d1af5991d739e33962e8ca52c6a5ce1c9204ce6

Author: José Fonseca <[email protected]>
Date:   Tue Sep 22 17:25:22 2009 +0100

wgl: Fix debug_printf format specifiers.

---

 src/gallium/state_trackers/wgl/icd/stw_icd.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/gallium/state_trackers/wgl/icd/stw_icd.c 
b/src/gallium/state_trackers/wgl/icd/stw_icd.c
index 347f40a..7dc6841 100644
--- a/src/gallium/state_trackers/wgl/icd/stw_icd.c
+++ b/src/gallium/state_trackers/wgl/icd/stw_icd.c
@@ -59,7 +59,7 @@ DrvCreateLayerContext(
    r = stw_create_layer_context( hdc, iLayerPlane );
    
    if (DBG)
-      debug_printf( "%s( %p, %i ) = %u\n",
+      debug_printf( "%s( %p, %i ) = %lu\n",
                     __FUNCTION__, hdc, iLayerPlane, r );
    
    return r;
@@ -81,7 +81,7 @@ DrvDeleteContext(
    r = stw_delete_context( dhglrc );
    
    if (DBG)
-      debug_printf( "%s( %u ) = %u\n",
+      debug_printf( "%s( %lu ) = %u\n",
                     __FUNCTION__, dhglrc, r );
    
    return r;
@@ -113,7 +113,7 @@ DrvDescribePixelFormat(
    r = stw_pixelformat_describe( hdc, iPixelFormat, cjpfd, ppfd );
 
    if (DBG)
-      debug_printf( "%s( %p, %d, %u, %p ) = %d\n",
+      debug_printf( "%s( %p, %i, %lu, %p ) = %li\n",
                     __FUNCTION__, hdc, iPixelFormat, cjpfd, ppfd, r );
 
    return r;
@@ -537,7 +537,7 @@ DrvSetContext(
       r = NULL;
       
    if (DBG)
-      debug_printf( "%s( 0x%p, %u, 0x%p ) = %p\n", 
+      debug_printf( "%s( 0x%p, %lu, 0x%p ) = %p\n",
                     __FUNCTION__, hdc, dhglrc, pfnSetProcTable, r );
 
    return r;
@@ -567,7 +567,7 @@ DrvSetPixelFormat(
    r = stw_pixelformat_set( hdc, iPixelFormat );
 
    if (DBG)
-      debug_printf( "%s( %p, %d ) = %s\n", __FUNCTION__, hdc, iPixelFormat, r 
? "TRUE" : "FALSE" );
+      debug_printf( "%s( %p, %li ) = %s\n", __FUNCTION__, hdc, iPixelFormat, r 
? "TRUE" : "FALSE" );
 
    return r;
 }
@@ -609,7 +609,7 @@ DrvValidateVersion(
    ULONG ulVersion )
 {
    if (DBG)
-      debug_printf( "%s( %u )\n", __FUNCTION__, ulVersion );
+      debug_printf( "%s( %lu )\n", __FUNCTION__, ulVersion );
 
    /* TODO: get the expected version from the winsys */
    

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to