summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp')
-rw-r--r--examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp2
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;