You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2016/04/27 03:19:42 UTC

[09/11] lucy git commit: Cast arg to Int_new.

Cast arg to Int_new.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/beca7cbe
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/beca7cbe
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/beca7cbe

Branch: refs/heads/master
Commit: beca7cbe501707c1ef9308050b83466d6547e89a
Parents: a52a0a9
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Mon Apr 25 17:02:48 2016 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Mon Apr 25 17:02:48 2016 -0700

----------------------------------------------------------------------
 core/Lucy/Index/DeletionsWriter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/beca7cbe/core/Lucy/Index/DeletionsWriter.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Index/DeletionsWriter.c b/core/Lucy/Index/DeletionsWriter.c
index 2b5c449..3b82f84 100644
--- a/core/Lucy/Index/DeletionsWriter.c
+++ b/core/Lucy/Index/DeletionsWriter.c
@@ -116,7 +116,7 @@ DefDelWriter_init(DefaultDeletionsWriter *self, Schema *schema,
         Vec_Store(ivars->bit_vecs, i, (Obj*)bit_vec);
         Hash_Store(ivars->name_to_tick,
                    SegReader_Get_Seg_Name(seg_reader),
-                   (Obj*)Int_new(i));
+                   (Obj*)Int_new((int64_t)i));
     }
 
     return self;