mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
render/vulkan: fix signedness of strcmp() return value
strcmp() returns a signed integer.
This commit is contained in:
parent
62e60ba889
commit
d795824346
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ void vulkan_change_layout(VkCommandBuffer cb, VkImage img,
|
|||
|
||||
bool vulkan_has_extension(size_t count, const char **exts, const char *find) {
|
||||
for (unsigned i = 0; i < count; ++i) {
|
||||
if (strcmp(exts[i], find) == 0u) {
|
||||
if (strcmp(exts[i], find) == 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue