diff options
author | Xuelian Bai <xuelian.bai@samsung.com> | 2024-01-26 08:02:09 +0800 |
---|---|---|
committer | Xuelian Bai <xuelian.bai@samsung.com> | 2024-01-26 08:04:51 +0800 |
commit | d08f64964261bd80b4a1cec587e8779a3fae38a3 (patch) | |
tree | 2b1967befb1388f4d14c0330c90a8a6014e29692 | |
parent | bdcb4586f4b8d5437d02e7dad8afc386867b74e6 (diff) | |
download | vulkan-wsi-layer-d08f64964261bd80b4a1cec587e8779a3fae38a3.tar.gz vulkan-wsi-layer-d08f64964261bd80b4a1cec587e8779a3fae38a3.tar.bz2 vulkan-wsi-layer-d08f64964261bd80b4a1cec587e8779a3fae38a3.zip |
Fix build error for riscvtizen_9.0_m2_releaseaccepted/tizen/unified/x/20240220.145956accepted/tizen/unified/toolchain/20240311.070107accepted/tizen/unified/dev/20240620.011202accepted/tizen/unified/20240219.160428accepted/tizen/9.0/unified/20241030.233251tizen_9.0tizenaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
Change-Id: I95b17986164acb649d33aa3df25bf3bdaca87a59
-rw-r--r-- | util/extension_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/extension_list.cpp b/util/extension_list.cpp index 6a6ee5c..f361d83 100644 --- a/util/extension_list.cpp +++ b/util/extension_list.cpp @@ -54,7 +54,7 @@ VkResult extension_list::add(const char *const *extensions, size_t count) bool success = false; if (len < sizeof(dst.extensionName)) { - int chars_printed = snprintf(dst.extensionName, len + 1, "%s", extensions[i]); + unsigned int chars_printed = snprintf(dst.extensionName, len + 1, "%s", extensions[i]); if (chars_printed == len) { success = true; |