diff options
author | 2013-12-19 22:28:48 +0000 | |
---|---|---|
committer | 2013-12-19 22:28:48 +0000 | |
commit | b1560445c66a751fc2ea7b85b94430a985940f3e (patch) | |
tree | 0b32c5228339f562a7f1c983638ff81b3568afae /include/core/SkFixed.h | |
parent | 8d7ed847be265d3e5058079029a3f6430d93130e (diff) |
Revert "begin to remove SkLONGLONG and wean Skia off of Sk64"
This reverts commit 784890196fdab96289f9389db43aca01f35db0f9.
Revert "use LL suffix for 64bit literal"
This reverts commit 9634295aff9bffd7a3875a0ca4a9b1a27d0793fc.
BUG=
Review URL: https://codereview.chromium.org/116543009
git-svn-id: http://skia.googlecode.com/svn/trunk@12790 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkFixed.h')
-rw-r--r-- | include/core/SkFixed.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkFixed.h b/include/core/SkFixed.h index 42a9eec284..580d94b9ca 100644 --- a/include/core/SkFixed.h +++ b/include/core/SkFixed.h @@ -118,11 +118,11 @@ static inline SkFixed SkFixedCos(SkFixed radians) { #ifdef SkLONGLONG inline SkFixed SkFixedMul_longlong(SkFixed a, SkFixed b) { - return (SkFixed)((int64_t)a * b >> 16); + return (SkFixed)((SkLONGLONG)a * b >> 16); } inline SkFixed SkFixedSquare_longlong(SkFixed value) { - return (SkFixed)((int64_t)value * value >> 16); + return (SkFixed)((SkLONGLONG)value * value >> 16); } #define SkFixedMul(a,b) SkFixedMul_longlong(a,b) #define SkFixedSquare(a) SkFixedSquare_longlong(a) |