diff --git a/projects/indirect_dispatch/src/App.cpp b/projects/indirect_dispatch/src/App.cpp
index 2654931f01093e9a932f2c3faaca23d682c37455..e53c86efb8513a54d0b7b84bf35c1c5c838e7c3b 100644
--- a/projects/indirect_dispatch/src/App.cpp
+++ b/projects/indirect_dispatch/src/App.cpp
@@ -136,10 +136,9 @@ void App::run() {
 		m_core.prepareImageForStorage (cmdStream, swapchainInput);
 
 		uint32_t gammaCorrectionDispatch[3] = {
-			(m_windowWidth  + 7) / 8,
-			(m_windowHeight + 7) / 8,
-			1
-		};
+			static_cast<uint32_t>((m_windowWidth  + 7) / 8),
+			static_cast<uint32_t>((m_windowHeight + 7) / 8),
+			static_cast<uint32_t>(1) };
 
 		m_core.recordComputeDispatchToCmdStream(
 			cmdStream,