aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_vulkan_cpp_demo.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-28 21:08:59 -0400
committerDavid Robillard <d@drobilla.net>2022-05-28 22:06:25 -0400
commit574bf1e11d73059ec5e6099e6806d919e1ac22b0 (patch)
tree58501a867689c2a02da561503f995adde832e202 /examples/pugl_vulkan_cpp_demo.cpp
parent460b036a8b87f5fb939088a56e3fadc5395ec90a (diff)
downloadpugl-574bf1e11d73059ec5e6099e6806d919e1ac22b0.tar.gz
pugl-574bf1e11d73059ec5e6099e6806d919e1ac22b0.tar.bz2
pugl-574bf1e11d73059ec5e6099e6806d919e1ac22b0.zip
Clean up and strengthen warning flags
Diffstat (limited to 'examples/pugl_vulkan_cpp_demo.cpp')
-rw-r--r--examples/pugl_vulkan_cpp_demo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_vulkan_cpp_demo.cpp b/examples/pugl_vulkan_cpp_demo.cpp
index fe86c30..69f360d 100644
--- a/examples/pugl_vulkan_cpp_demo.cpp
+++ b/examples/pugl_vulkan_cpp_demo.cpp
@@ -1716,7 +1716,7 @@ run(const char* const programPath,
app.world.setClassName("PuglVulkanCppDemo");
app.view.setWindowTitle("Pugl Vulkan C++ Demo");
app.view.setSizeHint(pugl::SizeHint::defaultSize, width, height);
- app.view.setSizeHint(pugl::SizeHint::minSize, width / 4, height / 4);
+ app.view.setSizeHint(pugl::SizeHint::minSize, width / 4u, height / 4u);
app.view.setBackend(pugl::vulkanBackend());
app.view.setHint(pugl::ViewHint::resizable, opts.resizable);
const pugl::Status st = app.view.realize();