diff options
| author | Carlos Martín Nieto <[email protected]> | 2019-12-10 22:15:32 +0000 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2019-12-10 22:15:32 +0000 |
| commit | 97e6392d3ab67bbf3e3e59b86a0bc9ebf7430e98 (patch) | |
| tree | e7e5259914f20617499933cbe7acf53af0fe237e /odb.go | |
| parent | 790b3d2ac014385a76e858bc21549be50c3ef7c8 (diff) | |
Adjust to libgit2 changes
Diffstat (limited to 'odb.go')
| -rw-r--r-- | odb.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -221,7 +221,7 @@ func (v *Odb) NewWriteStream(size int64, otype ObjectType) (*OdbWriteStream, err runtime.LockOSThread() defer runtime.UnlockOSThread() - ret := C.git_odb_open_wstream(&stream.ptr, v.ptr, C.git_off_t(size), C.git_object_t(otype)) + ret := C.git_odb_open_wstream(&stream.ptr, v.ptr, C.git_object_size_t(size), C.git_object_t(otype)) runtime.KeepAlive(v) if ret < 0 { return nil, MakeGitError(ret) |
