[ostree] Two 32 bit compilation fixes



commit e3f9f331a25e7396b9152e0f508fe2425d4dfdda
Author: Colin Walters <walters verbum org>
Date:   Thu Jan 8 16:16:21 2015 -0500

    Two 32 bit compilation fixes

 src/libostree/ostree-repo-pull.c                   |    2 +-
 .../ostree-repo-static-delta-compilation.c         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c
index 2a302ba..f3b8253 100644
--- a/src/libostree/ostree-repo-pull.c
+++ b/src/libostree/ostree-repo-pull.c
@@ -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))
diff --git a/src/libostree/ostree-repo-static-delta-compilation.c 
b/src/libostree/ostree-repo-static-delta-compilation.c
index 24fe8f4..96c6324 100644
--- a/src/libostree/ostree-repo-static-delta-compilation.c
+++ b/src/libostree/ostree-repo-static-delta-compilation.c
@@ -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);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]