[ostree/wip/delta: 24/27] repo: Fix object storage size API to be 64 bit
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree/wip/delta: 24/27] repo: Fix object storage size API to be 64 bit
- Date: Sun, 18 Aug 2013 14:54:06 +0000 (UTC)
commit 3d8c17a280e9fd2c7501ec2ce978944e10d3c31d
Author: Colin Walters <walters verbum org>
Date: Sun Aug 18 07:56:20 2013 -0400
repo: Fix object storage size API to be 64 bit
This fixes a pointer size warning on 32-bit builds.
https://bugzilla.gnome.org/show_bug.cgi?id=706235
src/libostree/ostree-repo.c | 2 +-
src/libostree/ostree-repo.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c
index a77a502..f571989 100644
--- a/src/libostree/ostree-repo.c
+++ b/src/libostree/ostree-repo.c
@@ -2361,7 +2361,7 @@ gboolean
ostree_repo_query_object_storage_size (OstreeRepo *self,
OstreeObjectType objtype,
const char *sha256,
- gsize *out_size,
+ guint64 *out_size,
GCancellable *cancellable,
GError **error)
{
diff --git a/src/libostree/ostree-repo.h b/src/libostree/ostree-repo.h
index 102fbf5..728dfa1 100644
--- a/src/libostree/ostree-repo.h
+++ b/src/libostree/ostree-repo.h
@@ -216,7 +216,7 @@ gboolean ostree_repo_load_object_stream (OstreeRepo *self,
gboolean ostree_repo_query_object_storage_size (OstreeRepo *self,
OstreeObjectType objtype,
const char *sha256,
- gsize *out_size,
+ guint64 *out_size,
GCancellable *cancellable,
GError **error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]