fixed idToKeyBuf result

master
Oliver Tonnhofer 2013-06-03 13:12:20 +02:00
parent b993c55990
commit c00cfaf030
1 changed files with 1 additions and 1 deletions

2
cache/osm.go vendored
View File

@ -182,7 +182,7 @@ func idToKeyBuf(id int64) []byte {
b := make([]byte, 0, 8)
buf := bytes.NewBuffer(b)
bin.Write(buf, bin.BigEndian, &id)
return b
return b[:8]
}
func (p *Cache) Close() {