X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fbug.h;h=e55d1f66b86fca4646f702355e15beaea10f6b65;hb=f589b86d4b6e067b720a253bdb40896857804037;hp=a248b8bd4d7c8a80d7c8e9a8bf3539294f99f3cc;hpb=257f49251c802c67030c11f63cee4ed7b50f6639;p=linux-2.6 diff --git a/include/asm-powerpc/bug.h b/include/asm-powerpc/bug.h index a248b8bd4d..e55d1f66b8 100644 --- a/include/asm-powerpc/bug.h +++ b/include/asm-powerpc/bug.h @@ -93,7 +93,7 @@ } while (0) #define WARN_ON(x) ({ \ - typeof(x) __ret_warn_on = (x); \ + int __ret_warn_on = !!(x); \ if (__builtin_constant_p(__ret_warn_on)) { \ if (__ret_warn_on) \ __WARN(); \