]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/level_editor/action_picker.c
(#1118) Try to fix warnings on MacOS build
[nothing.git] / src / game / level / level_editor / action_picker.c
index 6611cdb839d739f95c82b751ec49d5f4c0656e49..46d115a025b02c4144ea73c53d34df5eaad7db4c 100644 (file)
@@ -72,7 +72,7 @@ void action_picker_event(ActionPicker *picker,
 
             const float element_height = picker->widget.boundary.h / (float)ACTION_N;
 
-            for (size_t i = 0; i < ACTION_N; ++i) {
+            for (ActionType i = 0; i < ACTION_N; ++i) {
                 const Vec2f element_position =
                     vec_sum(
                         vec(picker->widget.boundary.x, picker->widget.boundary.y),