diff options
Diffstat (limited to 'include/asm-sh/bug.h')
-rw-r--r-- | include/asm-sh/bug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/bug.h b/include/asm-sh/bug.h index 46f925c815ac..a78d482e8b2f 100644 --- a/include/asm-sh/bug.h +++ b/include/asm-sh/bug.h | |||
@@ -61,7 +61,7 @@ do { \ | |||
61 | } while (0) | 61 | } while (0) |
62 | 62 | ||
63 | #define WARN_ON(x) ({ \ | 63 | #define WARN_ON(x) ({ \ |
64 | typeof(x) __ret_warn_on = (x); \ | 64 | int __ret_warn_on = !!(x); \ |
65 | if (__builtin_constant_p(__ret_warn_on)) { \ | 65 | if (__builtin_constant_p(__ret_warn_on)) { \ |
66 | if (__ret_warn_on) \ | 66 | if (__ret_warn_on) \ |
67 | __WARN(); \ | 67 | __WARN(); \ |