From ee6e60d8f3cc07b6aa8a44d0146418101ee3d619 Mon Sep 17 00:00:00 2001 From: Maxime ROUFFET Date: Sun, 31 Mar 2024 09:17:55 +0900 Subject: [PATCH] [Fix] Warnings --- Include/SA/Logger/Misc/RindBuffer.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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