summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-11-03 21:04:32 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2012-11-03 21:04:32 +0000
commit66c0c406dca52e1779a112c337ecde96c08ab503 (patch)
tree8f3eeb751d21276c861dc5cd3da2252295edc350 /src
parentee42bbe7c2fb736559989c24fa3fdcf0cc8792a6 (diff)
downloadrabbitmq-server-git-66c0c406dca52e1779a112c337ecde96c08ab503.tar.gz
ditch superfluous type mapping in codegen
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_binary_generator.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_binary_generator.erl b/src/rabbit_binary_generator.erl
index 6b6b395a6a..2ece86963f 100644
--- a/src/rabbit_binary_generator.erl
+++ b/src/rabbit_binary_generator.erl
@@ -215,9 +215,9 @@ encode_property(shortstr, String) ->
encode_property(longstr, String) -> Len = size(String),
<<Len:32, String:Len/binary>>;
encode_property(octet, Int) -> <<Int:8/unsigned>>;
-encode_property(shortint, Int) -> <<Int:16/unsigned>>;
-encode_property(longint, Int) -> <<Int:32/unsigned>>;
-encode_property(longlongint, Int) -> <<Int:64/unsigned>>;
+encode_property(short, Int) -> <<Int:16/unsigned>>;
+encode_property(long, Int) -> <<Int:32/unsigned>>;
+encode_property(longlong, Int) -> <<Int:64/unsigned>>;
encode_property(timestamp, Int) -> <<Int:64/unsigned>>;
encode_property(table, Table) -> table_to_binary(Table).