| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index 2171f1e93473ba168acede74efad9600d68029c8..9469b3a0fa315b263277ecc13f612dab3784289c 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -256,7 +256,8 @@ void GrDrawTarget::drawPaths(const GrPipelineBuilder& pipelineBuilder,
|
| SkASSERT(this->caps()->shaderCaps()->pathRenderingSupport());
|
| SkASSERT(pathRange);
|
| SkASSERT(indices);
|
| - SkASSERT(0 == reinterpret_cast<long>(indices) % GrPathRange::PathIndexSizeInBytes(indexType));
|
| + SkASSERT(0 == reinterpret_cast<intptr_t>(indices) %
|
| + GrPathRange::PathIndexSizeInBytes(indexType));
|
| SkASSERT(transformValues);
|
|
|
| // Setup clip
|
|
|