[pango] modules/basic/basic-win32.c: Silence a Warning



commit 10dc44e0bb9f974782ed6d01a7a65634d0921aee
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Dec 13 17:01:38 2013 +0800

    modules/basic/basic-win32.c: Silence a Warning
    
    The length is an unsigned int, and it is already enforced that it must
    be greater or equal to 0 in this source file, so fix the type declaration.

 modules/basic/basic-win32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/basic/basic-win32.c b/modules/basic/basic-win32.c
index 0ae7885..db92a38 100644
--- a/modules/basic/basic-win32.c
+++ b/modules/basic/basic-win32.c
@@ -714,7 +714,7 @@ static void
 basic_engine_shape (PangoEngineShape   *engine,
                    PangoFont           *font,
                    const char          *text,
-                   int                  length,
+                   unsigned int         length,
                    const PangoAnalysis *analysis,
                    PangoGlyphString    *glyphs,
                    const char          *paragraph_text G_GNUC_UNUSED,


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