#ifndef _MACH_BRANCH_PREDICATES_H
#define _MACH_BRANCH_PREDICATES_H
-#define __probable(x) __builtin_expect((long)(x), 1L)
-#define __improbable(x) __builtin_expect((long)(x), 0L)
+#define __probable(x) __builtin_expect(!!((long)(x)), 1L)
+#define __improbable(x) __builtin_expect(!!((long)(x)), 0L)
#endif /* _MACH_BRANCH_PREDICATES_H */