Adapt for changes to Hash_Get_Size. The return value has been widened to size_t, so cast where necessary.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/bb67e9f0 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/bb67e9f0 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/bb67e9f0 Branch: refs/heads/master Commit: bb67e9f0b737eba783f053c0f7421d71d2affb5a Parents: 74d7d40 Author: Marvin Humphrey <mar...@rectangular.com> Authored: Mon Apr 25 12:32:59 2016 -0700 Committer: Marvin Humphrey <mar...@rectangular.com> Committed: Mon Apr 25 12:33:18 2016 -0700 ---------------------------------------------------------------------- c/src/Lucy/Document/Doc.c | 2 +- core/Lucy/Index/Snapshot.c | 2 +- core/Lucy/Plan/Schema.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/bb67e9f0/c/src/Lucy/Document/Doc.c ---------------------------------------------------------------------- diff --git a/c/src/Lucy/Document/Doc.c b/c/src/Lucy/Document/Doc.c index 19b9d9d..113606b 100644 --- a/c/src/Lucy/Document/Doc.c +++ b/c/src/Lucy/Document/Doc.c @@ -55,7 +55,7 @@ Doc_Set_Fields_IMP(Doc *self, void *fields) { uint32_t Doc_Get_Size_IMP(Doc *self) { Hash *hash = (Hash*)Doc_IVARS(self)->fields; - return Hash_Get_Size(hash); + return (uint32_t)Hash_Get_Size(hash); } void http://git-wip-us.apache.org/repos/asf/lucy/blob/bb67e9f0/core/Lucy/Index/Snapshot.c ---------------------------------------------------------------------- diff --git a/core/Lucy/Index/Snapshot.c b/core/Lucy/Index/Snapshot.c index a67379b..c1005b2 100644 --- a/core/Lucy/Index/Snapshot.c +++ b/core/Lucy/Index/Snapshot.c @@ -88,7 +88,7 @@ Snapshot_List_IMP(Snapshot *self) { uint32_t Snapshot_Num_Entries_IMP(Snapshot *self) { SnapshotIVARS *const ivars = Snapshot_IVARS(self); - return Hash_Get_Size(ivars->entries); + return (uint32_t)Hash_Get_Size(ivars->entries); } void http://git-wip-us.apache.org/repos/asf/lucy/blob/bb67e9f0/core/Lucy/Plan/Schema.c ---------------------------------------------------------------------- diff --git a/core/Lucy/Plan/Schema.c b/core/Lucy/Plan/Schema.c index 2da6716..d39fc55 100644 --- a/core/Lucy/Plan/Schema.c +++ b/core/Lucy/Plan/Schema.c @@ -211,7 +211,7 @@ Schema_Fetch_Sim_IMP(Schema *self, String *field) { uint32_t Schema_Num_Fields_IMP(Schema *self) { SchemaIVARS *const ivars = Schema_IVARS(self); - return Hash_Get_Size(ivars->types); + return (uint32_t)Hash_Get_Size(ivars->types); } Architecture*