summaryrefslogtreecommitdiff
path: root/qpid/dotnet/Qpid.Common/Framing/AMQMethodBodyFactory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/dotnet/Qpid.Common/Framing/AMQMethodBodyFactory.cs')
-rw-r--r--qpid/dotnet/Qpid.Common/Framing/AMQMethodBodyFactory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/dotnet/Qpid.Common/Framing/AMQMethodBodyFactory.cs b/qpid/dotnet/Qpid.Common/Framing/AMQMethodBodyFactory.cs
index 5df9720678..a5c90f0fdd 100644
--- a/qpid/dotnet/Qpid.Common/Framing/AMQMethodBodyFactory.cs
+++ b/qpid/dotnet/Qpid.Common/Framing/AMQMethodBodyFactory.cs
@@ -39,7 +39,7 @@ namespace Qpid.Framing
/// <exception>AMQFrameDecodingException</exception>
public IBody CreateBody(ByteBuffer inbuf)
{
- return MethodBodyDecoderRegistry.Get(inbuf.GetUnsignedShort(), inbuf.GetUnsignedShort());
+ return MethodBodyDecoderRegistry.Get(inbuf.GetUInt16(), inbuf.GetUInt16());
}
}
}