diff options
author | Anders Svensson <[email protected]> | 2013-05-29 18:40:49 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-05-29 18:40:49 +0200 |
commit | 811ecaa471eeff3bd5b9950a1a1baf1dcc83c54b (patch) | |
tree | 36f94098ab35ee5309afe0e26e8608b56f48cbe4 /lib/diameter/src/compiler/diameter_codegen.erl | |
parent | 840d4aa36aefca16990f0dc3bc5597346d36af01 (diff) | |
parent | 0b5dbb28332012c22b915364b55ce31843a26bdf (diff) | |
download | otp-811ecaa471eeff3bd5b9950a1a1baf1dcc83c54b.tar.gz otp-811ecaa471eeff3bd5b9950a1a1baf1dcc83c54b.tar.bz2 otp-811ecaa471eeff3bd5b9950a1a1baf1dcc83c54b.zip |
Merge branch 'anders/diameter/missed_5001/OTP-11087' into maint
* anders/diameter/missed_5001/OTP-11087:
Remove redundant integer type specifiers from binaries
Fix recognition of 5001 on mandatory AVP's
Diffstat (limited to 'lib/diameter/src/compiler/diameter_codegen.erl')
-rw-r--r-- | lib/diameter/src/compiler/diameter_codegen.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/src/compiler/diameter_codegen.erl b/lib/diameter/src/compiler/diameter_codegen.erl index 80036879ea..e687145263 100644 --- a/lib/diameter/src/compiler/diameter_codegen.erl +++ b/lib/diameter/src/compiler/diameter_codegen.erl @@ -574,12 +574,12 @@ cs_enumerated_avp({AvpName, Values}) -> lists:flatmap(fun(V) -> c_enumerated_avp(AvpName, V) end, Values). c_enumerated_avp(AvpName, {_,I}) -> - [{?clause, [?ATOM(decode), ?Atom(AvpName), ?TERM(<<I:32/integer>>)], + [{?clause, [?ATOM(decode), ?Atom(AvpName), ?TERM(<<I:32>>)], [], [?TERM(I)]}, {?clause, [?ATOM(encode), ?Atom(AvpName), ?INTEGER(I)], [], - [?TERM(<<I:32/integer>>)]}]. + [?TERM(<<I:32>>)]}]. %%% ------------------------------------------------------------------------ %%% msg_header/1 @@ -700,7 +700,7 @@ c_empty_value({Name, _, _, _}) -> c_empty_value({Name, _}) -> {?clause, [?Atom(Name)], [], - [?TERM(<<0:32/integer>>)]}. + [?TERM(<<0:32>>)]}. %%% ------------------------------------------------------------------------ %%% # dict/0 |