Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: include/core/SkTypes.h

Issue 19786010: Fix some noisy warnings on Windows x64. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkDebug.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkTypes.h
===================================================================
--- include/core/SkTypes.h (revision 10215)
+++ include/core/SkTypes.h (working copy)
@@ -184,12 +184,12 @@
typedef uint8_t SkBool8;
#ifdef SK_DEBUG
- SK_API int8_t SkToS8(long);
- SK_API uint8_t SkToU8(size_t);
- SK_API int16_t SkToS16(long);
- SK_API uint16_t SkToU16(size_t);
- SK_API int32_t SkToS32(long);
- SK_API uint32_t SkToU32(size_t);
+ SK_API int8_t SkToS8(intmax_t);
+ SK_API uint8_t SkToU8(uintmax_t);
+ SK_API int16_t SkToS16(intmax_t);
+ SK_API uint16_t SkToU16(uintmax_t);
+ SK_API int32_t SkToS32(intmax_t);
+ SK_API uint32_t SkToU32(uintmax_t);
#else
#define SkToS8(x) ((int8_t)(x))
#define SkToU8(x) ((uint8_t)(x))
« no previous file with comments | « no previous file | src/core/SkDebug.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698