From d79582434685827275d79dca05f61efed5e3d6e7 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 19 Apr 2023 15:29:53 +0200 Subject: render/vulkan: fix signedness of strcmp() return value strcmp() returns a signed integer. --- render/vulkan/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/vulkan') 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; } } -- cgit v1.2.3