diff --git a/Include/SA/Logger/Misc/RindBuffer.inl b/Include/SA/Logger/Misc/RindBuffer.inl index 051b59f..f7aa541 100644 --- a/Include/SA/Logger/Misc/RindBuffer.inl +++ b/Include/SA/Logger/Misc/RindBuffer.inl @@ -70,7 +70,7 @@ namespace SA template uint32_t RingBuffer::Size() const noexcept { - return mPushCursor - mPopCursor; + return static_cast(mPushCursor - mPopCursor); } template