diff options
author | John Högberg <[email protected]> | 2018-03-12 12:31:43 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-03-12 12:31:43 +0100 |
commit | a0fc09d828a34a51e194f898399673b521f69463 (patch) | |
tree | 3d8f99714a6f0e2a380a3119092be9f9fbf9ecc8 /erts/emulator/beam/bif.c | |
parent | 2960c7d08932b718dc93773e0718cd214277e09d (diff) | |
parent | 5f780125c1d2c625c799df7e5e0816d99b17f590 (diff) | |
download | otp-a0fc09d828a34a51e194f898399673b521f69463.tar.gz otp-a0fc09d828a34a51e194f898399673b521f69463.tar.bz2 otp-a0fc09d828a34a51e194f898399673b521f69463.zip |
Merge branch 'john/erts/tuple-arityval-fixes/OTP-14963/ERL-577'
* john/erts/tuple-arityval-fixes/OTP-14963/ERL-577:
Make doc entry for maximum tuple size reflect reality
Assert that sz <= MAX_ARITYVAL in make_arityval(sz)
Diffstat (limited to 'erts/emulator/beam/bif.c')
-rw-r--r-- | erts/emulator/beam/bif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c index 5a98cb827c..652b95105f 100644 --- a/erts/emulator/beam/bif.c +++ b/erts/emulator/beam/bif.c @@ -3101,7 +3101,7 @@ BIF_RETTYPE list_to_integer_2(BIF_ALIST_2) static int do_float_to_charbuf(Process *p, Eterm efloat, Eterm list, char *fbuf, int sizeof_fbuf) { - const static int arity_two = make_arityval(2); + Eterm arity_two = make_arityval(2); int decimals = SYS_DEFAULT_FLOAT_DECIMALS; int compact = 0; enum fmt_type_ { |