diff options
author | 2015-08-06 17:33:16 -0700 | |
---|---|---|
committer | 2015-08-06 17:33:16 -0700 | |
commit | ebc1c10fe1befb4f8025e825d3fb6012c145c593 (patch) | |
tree | 29e3af0a027e62ca15940ea4999e5a1760fece55 /src | |
parent | 4ab9d5f1bc6d05c49dc765c3de5ade816f4c968e (diff) |
Fix warnings on VS2015 x86_64 build
TBR=bungeman@google.com
Review URL: https://codereview.chromium.org/1276133002
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrDrawTarget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp index 2171f1e934..9469b3a0fa 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 |