aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-04-19 15:29:53 +0200
committerSimon Ser <contact@emersion.fr>2023-04-19 15:29:53 +0200
commitd79582434685827275d79dca05f61efed5e3d6e7 (patch)
tree3e4dfcf7cb6c11860f96e78d3ad6cb6b885bc0c2
parent62e60ba8894139eaeafce6698b16a12c3b85e5c4 (diff)
render/vulkan: fix signedness of strcmp() return value
strcmp() returns a signed integer.
-rw-r--r--render/vulkan/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/vulkan/util.c b/render/vulkan/util.c
index 4c54dfd5..850f99f3 100644
--- a/render/vulkan/util.c
+++ b/render/vulkan/util.c
@@ -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;
}
}