Resolve OTP 19 compatibility

Dialyzer issues otherwise
This commit is contained in:
Martin Sumner 2017-11-30 19:10:26 +00:00
parent 9d9ad17d36
commit 7a99d060a3
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@
end_key :: tuple() | undefined,
owner :: pid()|list(),
filename :: string() | undefined,
bloom :: binary() | none}).
bloom :: binary() | none | undefined}).
-record(cdb_options,
{max_size :: integer() | undefined,

View file

@ -560,7 +560,7 @@ test_bloom(N, Runs) ->
fun(HashList) ->
HitOrMissFun =
fun (Entry, {HitL, MissL}) ->
case random:uniform() < 0.5 of
case leveled_rand:uniform() < 0.5 of
true ->
{[Entry|HitL], MissL};
false ->