From 8b4da9a191b9a35c743209d38c99c000f8490501 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 18 Feb 2022 10:14:34 +0100 Subject: Fix strict compilation warnings --- intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/opensubdiv') 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() -- cgit v1.2.3