diff options
-rw-r--r-- | examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp b/examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp index 2020ec1d37..3e44fabec9 100644 --- a/examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp +++ b/examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp @@ -140,7 +140,7 @@ void VulkanRenderer::initResources() m_devFuncs = inst->deviceFunctions(m_window->device()); QString info; - info += QString::asprintf("Number of physical devices: %zd\n", ssize_t(m_window->availablePhysicalDevices().count())); + info += QString::asprintf("Number of physical devices: %d\n", int(m_window->availablePhysicalDevices().count())); QVulkanFunctions *f = inst->functions(); VkPhysicalDeviceProperties props; |