You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix signed and unsigned comparisons
The first in my quest to make Godot 3.x compile with -Werror on GCC7
This commit is contained in:
@@ -211,7 +211,7 @@ void Line2DEditor::_bind_methods() {
|
||||
}
|
||||
|
||||
void Line2DEditor::_mode_selected(int p_mode) {
|
||||
for (unsigned int i = 0; i < _MODE_COUNT; ++i) {
|
||||
for (int i = 0; i < _MODE_COUNT; ++i) {
|
||||
toolbar_buttons[i]->set_pressed(i == p_mode);
|
||||
}
|
||||
mode = Mode(p_mode);
|
||||
|
||||
Reference in New Issue
Block a user