diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-02-18 12:14:34 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-02-18 12:14:34 +0300 |
commit | 8b4da9a191b9a35c743209d38c99c000f8490501 (patch) | |
tree | 1a085eddf389c14934bd6b010a54fc647139ffb5 /intern/opensubdiv | |
parent | fe26d188891f95d199e2559929204fddacea2ba8 (diff) |
Fix strict compilation warnings
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r-- | intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc b/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc index ee4eaeaec5d..acf628c7035 100644 --- a/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc +++ b/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc @@ -140,8 +140,8 @@ GLStencilTableSSBO::~GLStencilTableSSBO() GLComputeEvaluator::GLComputeEvaluator() : _workGroupSize(64), _patchArraysSSBO(0) { - memset(&_stencilKernel, 0, sizeof(_stencilKernel)); - memset(&_patchKernel, 0, sizeof(_patchKernel)); + memset((void *)&_stencilKernel, 0, sizeof(_stencilKernel)); + memset((void *)&_patchKernel, 0, sizeof(_patchKernel)); } GLComputeEvaluator::~GLComputeEvaluator() |