projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6f6b2be
)
[giroffsets] Also update this code for change to signed enumeration values
GOBJECT_INTROSPECTION_0_6_9
author
Colin Walters
<walters@verbum.org>
Thu, 18 Mar 2010 21:46:56 +0000
(17:46 -0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 18 Mar 2010 21:46:56 +0000
(17:46 -0400)
girepository/giroffsets.c
patch
|
blob
|
history
diff --git
a/girepository/giroffsets.c
b/girepository/giroffsets.c
index
dcfd75e
..
9cec0e9
100644
(file)
--- a/
girepository/giroffsets.c
+++ b/
girepository/giroffsets.c
@@
-67,7
+67,7
@@
static void
compute_enum_storage_type (GIrNodeEnum *enum_node)
{
GList *l;
- g
u
int32 max_value = 0;
+ gint32 max_value = 0;
int width;
if (enum_node->storage_type != GI_TYPE_TAG_VOID) /* already done */
@@
-77,7
+77,7
@@
compute_enum_storage_type (GIrNodeEnum *enum_node)
{
GIrNodeValue *value = l->data;
if (value->value > max_value)
- max_value = value->value;
+
max_value = value->value;
}
if (max_value < 128)