Two 32 bit compilation fixes

This commit is contained in:
Colin Walters 2015-01-08 16:16:21 -05:00
parent 6ff841d3b0
commit e3f9f331a2
2 changed files with 2 additions and 2 deletions

View File

@ -1857,7 +1857,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
if (pull_data->summary)
{
guint64 commit_size = 0;
gsize commit_size = 0;
guint64 *malloced_size;
if (!lookup_commit_checksum_from_summary (pull_data, branch, &contents, &commit_size, error))

View File

@ -548,7 +548,7 @@ ostree_repo_static_delta_generate (OstreeRepo *self,
g_printerr ("part %u n:%u compressed:%" G_GUINT64_FORMAT " uncompressed:%" G_GUINT64_FORMAT "\n",
i, part_builder->objects->len,
g_variant_get_size (delta_part),
(guint64)g_variant_get_size (delta_part),
part_builder->uncompressed_size);
}