summaryrefslogtreecommitdiff
path: root/odb_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'odb_test.go')
-rw-r--r--odb_test.go2
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)