diff --git a/src/Adaptive.Aeron/Image.cs b/src/Adaptive.Aeron/Image.cs index 84acbf11..eec0459a 100644 --- a/src/Adaptive.Aeron/Image.cs +++ b/src/Adaptive.Aeron/Image.cs @@ -180,7 +180,7 @@ public void Position(long newPosition) _subscriberPosition.SetOrdered(newPosition); } - + /// /// The counter id for the subscriber position counter. /// @@ -405,7 +405,7 @@ public virtual int BoundedControlledPoll(IControlledFragmentHandler fragmentHand var initialOffset = (int) initialPosition & _termLengthMask; var resultingOffset = initialOffset; var termBuffer = ActiveTermBuffer(initialPosition); - var endOffset = Math.Min(termBuffer.Capacity, (int) (maxPosition - initialPosition + initialOffset)); + var endOffset = (int) Math.Min(termBuffer.Capacity, (maxPosition - initialPosition + initialOffset)); _header.Buffer = termBuffer; try