Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mours <pmours@nvidia.com>2022-04-05 18:30:01 +0300
committerPatrick Mours <pmours@nvidia.com>2022-04-05 19:09:21 +0300
commite51368728815e3700414a77bf91668425a9965ec (patch)
tree9285472413877aca15df761e111dfb03ceaeb402 /intern/cycles/scene/geometry.cpp
parentf60cffad38d12bdfefe503924e93c33a7c89f671 (diff)
Cycles: Fix a few type casting warnings
Stumbled over the `integrate_surface_volume_only_bounce` kernel function not returning the right type. The others too showed up as warnings when building Cycles as a standalone which didn't have those warnings disabled. Differential Revision: https://developer.blender.org/D14558
Diffstat (limited to 'intern/cycles/scene/geometry.cpp')
-rw-r--r--intern/cycles/scene/geometry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/scene/geometry.cpp b/intern/cycles/scene/geometry.cpp
index a2a15416ae6..8152a27046f 100644
--- a/intern/cycles/scene/geometry.cpp
+++ b/intern/cycles/scene/geometry.cpp
@@ -180,7 +180,7 @@ bool Geometry::has_true_displacement() const
}
void Geometry::compute_bvh(
- Device *device, DeviceScene *dscene, SceneParams *params, Progress *progress, int n, int total)
+ Device *device, DeviceScene *dscene, SceneParams *params, Progress *progress, size_t n, size_t total)
{
if (progress->get_cancel())
return;