Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Abrosimov committed Jul 26, 2019
1 parent c59f936 commit 616329e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ func (opts *Options) SetMemTablePrefixBloomSizeRatio(value float64) {
//
// Default: false
func (opts *Options) SetOptimizeFiltersForHits(value bool) {
C.rocksdb_options_set_optimize_filters_for_hits(opts.c, C.boolToChar(value))
C.rocksdb_options_set_optimize_filters_for_hits(opts.c, C.int(btoi(value)))
}

// Destroy deallocates the Options object.
Expand Down

0 comments on commit 616329e

Please sign in to comment.