Index: include/core/SkTypes.h |
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h |
index dfe8f2fd87fc7ef4a7f7463ad5b20e1b6ade9e86..d9254acf5f776d8abda7b8d3486d834fcaa6e200 100644 |
--- a/include/core/SkTypes.h |
+++ b/include/core/SkTypes.h |
@@ -257,7 +257,7 @@ |
/** Returns 0 or 1 based on the condition |
*/ |
-#define SkToBool(cond) ((cond) != (decltype(cond))0) |
+#define SkToBool(cond) ((cond) != 0) |
#define SK_MaxS16 32767 |
#define SK_MinS16 -32767 |