diff options
author | Colin Walters <walters@verbum.org> | 2010-03-18 17:46:56 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-03-18 17:46:56 -0400 |
commit | 3534be99f45985996b0a0409f168b54725f3ea42 (patch) | |
tree | b39c89eb27ea817591c77c4891c43630a52eccb1 | |
parent | 6f6b2beb6918a83336dfdf94adde1d251dff84f3 (diff) | |
download | gobject-introspection-GOBJECT_INTROSPECTION_0_6_9.tar.gz |
[giroffsets] Also update this code for change to signed enumeration valuesGOBJECT_INTROSPECTION_0_6_9
-rw-r--r-- | girepository/giroffsets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/girepository/giroffsets.c b/girepository/giroffsets.c index dcfd75e5..9cec0e93 100644 --- a/girepository/giroffsets.c +++ b/girepository/giroffsets.c @@ -67,7 +67,7 @@ static void compute_enum_storage_type (GIrNodeEnum *enum_node) { GList *l; - guint32 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) |