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:
authorMai Lavelle <mai.lavelle@gmail.com>2017-03-23 07:11:29 +0300
committerMai Lavelle <mai.lavelle@gmail.com>2017-03-23 07:14:48 +0300
commit4d82d525f85af937bb59c08d584413e5419037ce (patch)
treea6efa9f56df3429d580f97c2b6c66b774fa96df8 /intern/cycles/device
parenta63ba2739e2a3956a2049be74dc67aa59f26c7fc (diff)
Cycles: Fix building for some compilers
Diffstat (limited to 'intern/cycles/device')
-rw-r--r--intern/cycles/device/device_cuda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp
index 58471ba67c2..08dfa181385 100644
--- a/intern/cycles/device/device_cuda.cpp
+++ b/intern/cycles/device/device_cuda.cpp
@@ -1500,7 +1500,7 @@ uint64_t CUDASplitKernel::state_buffer_size(device_memory& /*kg*/, device_memory
cuda_assert(cuLaunchKernel(state_buffer_size,
1, 1, 1,
1, 1, 1,
- 0, 0, &args, 0));
+ 0, 0, (void**)&args, 0));
device->cuda_pop_context();