[gtk+] cssparser: Fix typo where we used "uint" for a type



commit 4c6721d09691a794229915ae74cb1d688d36855a
Author: Benjamin Otte <otte redhat com>
Date:   Sun May 22 06:07:18 2011 +0200

    cssparser: Fix typo where we used "uint" for a type
    
    Interestingly this works for gcc, but breaks on MSVC.

 gtk/gtkcssparser.c        |    2 +-
 gtk/gtkcssparserprivate.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssparser.c b/gtk/gtkcssparser.c
index c956fd5..cd31938 100644
--- a/gtk/gtkcssparser.c
+++ b/gtk/gtkcssparser.c
@@ -515,7 +515,7 @@ _gtk_css_parser_try_int (GtkCssParser *parser,
 
 gboolean
 _gtk_css_parser_try_uint (GtkCssParser *parser,
-                          uint         *value)
+                          guint        *value)
 {
   guint64 result;
   char *end;
diff --git a/gtk/gtkcssparserprivate.h b/gtk/gtkcssparserprivate.h
index 976edc0..6ea60a8 100644
--- a/gtk/gtkcssparserprivate.h
+++ b/gtk/gtkcssparserprivate.h
@@ -67,7 +67,7 @@ char *          _gtk_css_parser_try_name          (GtkCssParser          *parser
 gboolean        _gtk_css_parser_try_int           (GtkCssParser          *parser,
                                                    int                   *value);
 gboolean        _gtk_css_parser_try_uint          (GtkCssParser          *parser,
-                                                   uint                  *value);
+                                                   guint                 *value);
 gboolean        _gtk_css_parser_try_double        (GtkCssParser          *parser,
                                                    gdouble               *value);
 



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