aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-22 21:29:10 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-22 21:29:10 +0000
commit6f86c3e0a63271d42473d73175a933f632b19243 (patch)
tree972326fa5503feb89aac19c904c5963ff7381e3a /src
parent752b60e633a349c5b9f7bcc6a28b8064fc77bb41 (diff)
fix clang compilation warning
Submitted on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/5833045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3472 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrDrawState.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index 7350f0f16f..c0ff42fc69 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -86,8 +86,8 @@ struct GrDrawState {
GrAssert(kMemsetSize + sizeof(fColor) + sizeof(fCoverage) +
sizeof(fFirstCoverageStage) + sizeof(fColorFilterMode) +
sizeof(fSrcBlend) + sizeof(fDstBlend) + sizeof(GrMatrix) ==
- reinterpret_cast<intptr_t>(&fEdgeAANumEdges) -
- reinterpret_cast<intptr_t>(this));
+ reinterpret_cast<uintptr_t>(&fEdgeAANumEdges) -
+ reinterpret_cast<uintptr_t>(this));
fEdgeAANumEdges = 0;
}