diff options
author | José Fonseca <[email protected]> | 2009-09-22 17:25:22 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-09-23 10:32:51 +0100 |
commit | 8d1af5991d739e33962e8ca52c6a5ce1c9204ce6 (patch) | |
tree | 8e2990f6e0dab7c9f43564ecb07ad5905f777c3a /src/gallium/state_trackers | |
parent | 21a949365d1de2f1fea6cb87c6f389e30156566f (diff) |
wgl: Fix debug_printf format specifiers.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | 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 347f40aa06b..7dc6841fed2 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 */ |