summaryrefslogtreecommitdiff
path: root/render-test/runner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'render-test/runner.cpp')
-rw-r--r--render-test/runner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/render-test/runner.cpp b/render-test/runner.cpp
index cbfb0c34be..b0fdcc386b 100644
--- a/render-test/runner.cpp
+++ b/render-test/runner.cpp
@@ -666,7 +666,7 @@ uint32_t getImageTileOffset(const std::set<uint32_t>& dims, uint32_t dim) {
assert(false);
return 0;
}
- return std::distance(dims.begin(), it) * kTileSizeUint;
+ return static_cast<uint32_t>(std::distance(dims.begin(), it)) * kTileSizeUint;
}
} // namespace