core: Fix 32/8 bit confusion in pack index listing

This commit is contained in:
Colin Walters committed 2012-05-01 17:44:14 -04:00
1 parent 83c91e7c85
commit 8d6bdaedfe
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -767,6 +767,8 @@ GVariant *
ostree_object_name_serialize (const char *checksum,
OstreeObjectType objtype)
{
g_assert (objtype >= OSTREE_OBJECT_TYPE_FILE
&& objtype <= OSTREE_OBJECT_TYPE_COMMIT);
return g_variant_new ("(su)", checksum, (guint32)objtype);
}