use cast_ptr instead of ptr for travis go tip build

This commit is contained in:
Jesse Ezell 2014-04-04 09:42:17 -07:00
parent b00cb1a343
commit 63fd1f9b03
1 changed files with 2 additions and 2 deletions

View File

@ -379,11 +379,11 @@ func (v *Repository) DiffTreeToTree(oldTree, newTree *Tree, opts *DiffOptions) (
var oldPtr, newPtr *C.git_tree
if oldTree != nil {
oldPtr = oldTree.gitObject.ptr
oldPtr = oldTree.cast_ptr
}
if newTree != nil {
newPtr = newTree.gitObject.ptr
newPtr = newTree.cast_ptr
}
cpathspec := C.git_strarray{}