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 <[email protected]>
Authored: Mon Apr 25 17:02:48 2016 -0700
Committer: Marvin Humphrey <[email protected]>
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;

Reply via email to