Cleanup: Use unsigned int when for enum values, instead of signed int.
This commit is contained in:
@@ -513,7 +513,7 @@ static bool override_type_set_button_poll(bContext *C)
|
||||
|
||||
UI_context_active_but_prop_get(C, &ptr, &prop, &index);
|
||||
|
||||
const int override_status = RNA_property_override_library_status(&ptr, prop, index);
|
||||
const uint override_status = RNA_property_override_library_status(&ptr, prop, index);
|
||||
|
||||
return (ptr.data && prop && (override_status & RNA_OVERRIDE_STATUS_OVERRIDABLE));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user