Index: include/core/SkTypes.h |
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h |
index 756eae862839990a22775303f54cdb2a2308d243..5831ba3e80fa1093e681f20341ba3a7ef43e3d82 100644 |
--- a/include/core/SkTypes.h |
+++ b/include/core/SkTypes.h |
@@ -290,7 +290,7 @@ typedef uint8_t SkBool8; |
#define SK_MinS32 -SK_MaxS32 |
#define SK_MaxU32 0xFFFFFFFF |
#define SK_MinU32 0 |
-#define SK_NaN32 (1 << 31) |
+#define SK_NaN32 ((int) (1U << 31)) |
/** Returns true if the value can be represented with signed 16bits |
*/ |