diff options
author | bsalomon <bsalomon@google.com> | 2014-12-12 08:51:38 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-12 08:51:39 -0800 |
commit | ef3fcd877aa78c1d0ac802043cd8785180304c12 (patch) | |
tree | 7129a84e40a97532af73b6fddc5cab5c663280ef /src/core/SkDebug.cpp | |
parent | 81a6c3cc75aae33a7334e6071b066537930b8558 (diff) |
More win64 warning fixes
Review URL: https://codereview.chromium.org/798723002
Diffstat (limited to 'src/core/SkDebug.cpp')
-rw-r--r-- | src/core/SkDebug.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/SkDebug.cpp b/src/core/SkDebug.cpp index b705a650ea..2257c7f6d8 100644 --- a/src/core/SkDebug.cpp +++ b/src/core/SkDebug.cpp @@ -56,4 +56,9 @@ size_t SkToSizeT(uintmax_t x) { return (size_t)x; } +off_t SkToOffT(intmax_t x) { + SkASSERT((off_t)x == x); + return (off_t)x; +} + #endif |