summaryrefslogtreecommitdiff
path: root/girepository
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2013-01-11 08:42:27 +0100
committerMartin Pitt <martinpitt@gnome.org>2013-01-11 10:09:25 +0100
commitee36c78b0c11763a69203e8ef14d74543698473a (patch)
tree3ad85bcd3d333070d438c9468a912582967ad572 /girepository
parent6ad132c69c74f46f54d770835ea45e8a58fbd612 (diff)
downloadgobject-introspection-ee36c78b0c11763a69203e8ef14d74543698473a.tar.gz
girepository: gchar is a signed type
gchar is signed, not unsigned. Add "guchar" alias as unsigned for completeness (but usually it appears as guint8). https://bugzilla.gnome.org/show_bug.cgi?id=691524
Diffstat (limited to 'girepository')
-rw-r--r--girepository/girparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c
index ce88a691..1a83c239 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -379,7 +379,8 @@ typedef struct {
} IntegerAliasInfo;
static IntegerAliasInfo integer_aliases[] = {
- { "gchar", SIZEOF_CHAR, 0 },
+ { "gchar", SIZEOF_CHAR, 1 },
+ { "guchar", SIZEOF_CHAR, 0 },
{ "gshort", SIZEOF_SHORT, 1 },
{ "gushort", SIZEOF_SHORT, 0 },
{ "gint", SIZEOF_INT, 1 },