diff options
Diffstat (limited to 'src/ProtocolBuffers/DynamicMessage.cs')
-rw-r--r-- | src/ProtocolBuffers/DynamicMessage.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ProtocolBuffers/DynamicMessage.cs b/src/ProtocolBuffers/DynamicMessage.cs index 34a50c5b..44fe0f39 100644 --- a/src/ProtocolBuffers/DynamicMessage.cs +++ b/src/ProtocolBuffers/DynamicMessage.cs @@ -295,7 +295,8 @@ namespace Google.ProtocolBuffers { } public override Builder MergeFrom(DynamicMessage other) { - return MergeFrom((IMessage)other); + IMessage downcast = other; + return MergeFrom(downcast); } public override DynamicMessage Build() { |