From 221c62de313ad811ca2b3ae8ba43996c96c347bc Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 13 Dec 2019 23:53:06 +0800 Subject: ... --- include/cru/ui/render/flex_layout_render_object.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/ui/render') diff --git a/include/cru/ui/render/flex_layout_render_object.hpp b/include/cru/ui/render/flex_layout_render_object.hpp index 5a8d09ba..ab6265d6 100644 --- a/include/cru/ui/render/flex_layout_render_object.hpp +++ b/include/cru/ui/render/flex_layout_render_object.hpp @@ -68,12 +68,12 @@ class FlexLayoutRenderObject : public RenderObject { } FlexChildLayoutData GetChildLayoutData(int position) { - assert(position >= 0 && position < child_layout_data_.size()); + assert(position >= 0 && position < static_cast(child_layout_data_.size())); return child_layout_data_[position]; } void SetChildLayoutData(int position, const FlexChildLayoutData& data) { - assert(position >= 0 && position < child_layout_data_.size()); + assert(position >= 0 && position < static_cast(child_layout_data_.size())); child_layout_data_[position] = data; InvalidateLayout(); } -- cgit v1.2.3