diff options
| author | Carlos Martín Nieto <[email protected]> | 2015-06-08 04:11:21 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2015-06-08 04:11:21 +0200 |
| commit | 36e0a256fe79f87447bb730fda53e5cbc90eb47c (patch) | |
| tree | 202ffb84de0f87dd072194b554e18dfd56af0fc4 /odb_test.go | |
| parent | 85fde1fcfbc3fd6000b8fa1a4041b4c314a92b2f (diff) | |
Update to libgit2 b6011e29
Diffstat (limited to 'odb_test.go')
| -rw-r--r-- | odb_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb_test.go b/odb_test.go index 2fb6840..0d765b9 100644 --- a/odb_test.go +++ b/odb_test.go @@ -17,7 +17,7 @@ func TestOdbStream(t *testing.T) { str := "hello, world!" - stream, error := odb.NewWriteStream(len(str), ObjectBlob) + stream, error := odb.NewWriteStream(int64(len(str)), ObjectBlob) checkFatal(t, error) n, error := io.WriteString(stream, str) checkFatal(t, error) |
