diff --git a/projects/voxelization/src/main.cpp b/projects/voxelization/src/main.cpp
index 554a6ee05c4327f169ceca87b639de8a95e0613b..81d99f8af37722735742c697171219e012f6b339 100644
--- a/projects/voxelization/src/main.cpp
+++ b/projects/voxelization/src/main.cpp
@@ -415,8 +415,8 @@ int main(int argc, const char** argv) {
 
 		const uint32_t gammaCorrectionLocalGroupSize = 8;
 		const uint32_t gammaCorrectionDispatchCount[3] = {
-			glm::ceil(windowWidth / float(gammaCorrectionLocalGroupSize)),
-			glm::ceil(windowHeight / float(gammaCorrectionLocalGroupSize)),
+			static_cast<uint32_t>(glm::ceil(windowWidth / static_cast<float>(gammaCorrectionLocalGroupSize))),
+			static_cast<uint32_t>(glm::ceil(windowHeight / static_cast<float>(gammaCorrectionLocalGroupSize))),
 			1
 		};