diff options
| author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-23 09:37:27 -0600 |
|---|---|---|
| committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-23 09:37:27 -0600 |
| commit | f0e582d9105f53bcab395215840f9291489691d2 (patch) | |
| tree | 1b5e12f479e5aeb46179df68ce63c6584d468cda | |
| parent | Merge pull request #74 from benbjohnson/cli (diff) | |
| parent | fix 32bit build fails: bucket.go#67 (diff) | |
| download | dedo-f0e582d9105f53bcab395215840f9291489691d2.tar.gz dedo-f0e582d9105f53bcab395215840f9291489691d2.tar.xz | |
Merge pull request #75 from Slacken/32bit_build_fails_bucket_go_67
Fix 32bit build
| -rw-r--r-- | bucket.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ func (b *Bucket) Put(key []byte, value []byte) error { return ErrKeyRequired } else if len(key) > MaxKeySize { return ErrKeyTooLarge - } else if len(value) > MaxValueSize { + } else if int64(len(value)) > MaxValueSize { return ErrValueTooLarge } |
