Repository: lucy
Updated Branches:
  refs/heads/master 243988811 -> a7a652f37


Fix Go bindings after Blob ctor changes


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

Branch: refs/heads/master
Commit: f0500e351b9a1d19c6b10265af348e20bd288669
Parents: 2439888
Author: Nick Wellnhofer <wellnho...@aevum.de>
Authored: Thu Mar 3 14:36:26 2016 +0100
Committer: Nick Wellnhofer <wellnho...@aevum.de>
Committed: Thu Mar 3 14:36:26 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/lucy/blob/f0500e35/go/lucy/search.go
----------------------------------------------------------------------
diff --git a/go/lucy/search.go b/go/lucy/search.go
index f2fa54a..d0a1dbe 100644
--- a/go/lucy/search.go
+++ b/go/lucy/search.go
@@ -408,7 +408,7 @@ func newMockMatcher(docIDs []int32, scores []float32) 
MockMatcher {
                for i := 0; i < len(scores); i++ {
                        C.float32_set(floats, C.size_t(i), C.float(scores[i]))
                }
-               blob = 
C.cfish_Blob_new_steal((*C.char)(unsafe.Pointer(floats)), C.size_t(size))
+               blob = C.cfish_Blob_new_steal(unsafe.Pointer(floats), 
C.size_t(size))
                defer C.cfish_decref(unsafe.Pointer(blob))
        }
        matcher := C.lucy_MockMatcher_new(docIDsCF, blob)

Reply via email to