Repository: lucy
Updated Branches:
  refs/heads/master a5c6f723e -> be1b383bf


Change a cast to size_t to per Vector API change.


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

Branch: refs/heads/master
Commit: be1b383bfddc6c7b9f5f3593d31506f51c0b6e12
Parents: a5c6f72
Author: Marvin Humphrey <[email protected]>
Authored: Fri May 1 18:45:37 2015 -0700
Committer: Marvin Humphrey <[email protected]>
Committed: Fri May 1 18:45:37 2015 -0700

----------------------------------------------------------------------
 go/lucy/index.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/be1b383b/go/lucy/index.go
----------------------------------------------------------------------
diff --git a/go/lucy/index.go b/go/lucy/index.go
index 78d2b48..3a14281 100644
--- a/go/lucy/index.go
+++ b/go/lucy/index.go
@@ -164,7 +164,7 @@ func (obj *implIndexer) findFieldC(name string) 
*C.cfish_String {
                fieldList := C.LUCY_Schema_All_Fields(schema)
                defer C.cfish_dec_refcount(unsafe.Pointer(fieldList))
                for i := 0; i < int(C.CFISH_Vec_Get_Size(fieldList)); i++ {
-                       cfString := unsafe.Pointer(C.CFISH_Vec_Fetch(fieldList, 
C.uint32_t(i)))
+                       cfString := unsafe.Pointer(C.CFISH_Vec_Fetch(fieldList, 
C.size_t(i)))
                        field := clownfish.CFStringToGo(cfString)
                        if strings.EqualFold(name, field) {
                                C.cfish_inc_refcount(cfString)

Reply via email to