[vte] Use right modifier to printf gulong



commit be0f71823453ef07b6a8c4b6072bdd6b772c74b1
Author: Christian Persch <chpe gnome org>
Date:   Thu Oct 29 18:59:52 2009 +0100

    Use right modifier to printf gulong
    
    Fixes a compiler warning.

 src/ring.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ring.c b/src/ring.c
index 54a9682..ca9f586 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -35,7 +35,7 @@ _vte_ring_validate (VteRing * ring)
 {
 	g_assert(ring != NULL);
 	_vte_debug_print(VTE_DEBUG_RING,
-			" Delta = %u, Length = %u, Max = %u, Writable = %u.\n",
+			" Delta = %lu, Length = %lu, Max = %lu, Writable = %lu.\n",
 			ring->start, ring->end - ring->start,
 			ring->max, ring->end - ring->writable);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]