change count to uint64 to fix #109

fix https://github.com/chrislusf/weed-fs/issues/109
This commit is contained in:
chrislusf committed 2015-04-06 14:17:36 -07:00
1 parent c37a20178e
commit 3ece066700
8 files changed
+42 -10

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ func NewMemorySequencer() (m *MemorySequencer) {
return
}
func (m *MemorySequencer) NextFileId(count int) (uint64, int) {
func (m *MemorySequencer) NextFileId(count uint64) (uint64, uint64) {
m.sequenceLock.Lock()
defer m.sequenceLock.Unlock()
ret := m.counter