diff options
author | Christian Hesse <mail@eworm.de> | 2020-06-30 20:06:55 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-06-30 20:06:55 +0200 |
commit | 2093661552c1da7ed4b81875eee39bc5e1167698 (patch) | |
tree | f8fad49bc6e367bbfaf81bcca45c56bbfc31dfad /global-functions | |
parent | baba79e3f5421b82158aa6a5466ae2b8c9caf34d (diff) |
global-functions: $GetRandomNumber: limit at 2^32-1
Diffstat (limited to 'global-functions')
-rw-r--r-- | global-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions b/global-functions index 3a2b19d..f529511 100644 --- a/global-functions +++ b/global-functions @@ -308,7 +308,7 @@ # generate random number :set GetRandomNumber do={ - :local Max 4294967296; + :local Max 4294967295; :if ([ :typeof $1 ] != "nothing" ) do={ :set Max ([ :tonum $1 ] + 1); } |