rocksdb compile bugfix

This commit is contained in:
siddontang 2014-07-28 10:16:14 +08:00
parent 4646ea7ec3
commit 98b8b5bdf1
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func (o *Options) SetTargetFileSizeMultiplier(n int) {
}
func (o *Options) SetMaxBytesForLevelBase(n int) {
C.rocksdb_options_set_max_bytes_for_level_base(o.Opt, C.int(n))
C.rocksdb_options_set_max_bytes_for_level_base(o.Opt, C.uint64_t(uint64(n)))
}
func (o *Options) SetMaxBytesForLevelMultiplier(n int) {