mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Don't overflow 32-bit signed integer in offline tests
This commit is contained in:
parent
a81324fc43
commit
a420eb1f72
@ -522,4 +522,4 @@ message_iterator(Config) ->
|
||||
end, All).
|
||||
|
||||
rand_string() ->
|
||||
integer_to_binary(p1_rand:uniform((1 bsl 63)-1)).
|
||||
integer_to_binary(p1_rand:uniform((1 bsl 31)-1)).
|
||||
|
Loading…
Reference in New Issue
Block a user