mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
sinowealth: silence warning
This commit is contained in:
committed by
enkore
parent
f7c22ed88c
commit
01d2cf8477
@@ -277,7 +277,7 @@ sinowealth_read_profile(struct ratbag_profile *profile)
|
||||
resolution->dpi_x = 0;
|
||||
resolution->dpi_y = 0;
|
||||
}
|
||||
resolution->is_active = resolution->index == config->active_dpi - 1;
|
||||
resolution->is_active = resolution->index == config->active_dpi - 1u;
|
||||
resolution->is_default = resolution->is_active;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user