diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-27 13:03:37 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-27 13:03:37 +0000 |
commit | d2fd13685ba0d7b3b7a2816c12379e0c61c6749b (patch) | |
tree | 690dc7e6a2f9ca4e86f58c63630c29ffec441025 /src/opts/SkBlitRow_opts_SSE2.cpp | |
parent | 37fe48489907870067e9cef9cf987b505ae6f02c (diff) |
use intptr_t to cast from ptr to int for masking low bits
git-svn-id: http://skia.googlecode.com/svn/trunk@4800 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/opts/SkBlitRow_opts_SSE2.cpp')
-rw-r--r-- | src/opts/SkBlitRow_opts_SSE2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opts/SkBlitRow_opts_SSE2.cpp b/src/opts/SkBlitRow_opts_SSE2.cpp index 4a3aa0d027..7149433f00 100644 --- a/src/opts/SkBlitRow_opts_SSE2.cpp +++ b/src/opts/SkBlitRow_opts_SSE2.cpp @@ -900,7 +900,7 @@ void S32A_D565_Blend_SSE2(uint16_t* SK_RESTRICT dst, void S32A_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int /*x*/, int /*y*/) { - while(((int)src & 0xf) && (count-- > 0)){ + while(((intptr_t)src & 0xf) && (count-- > 0)){ *dst = SkSrcOver32To16(*src, *dst); src++; dst++; |