"Arnaud Bergeron" <[EMAIL PROTECTED]> writes:

> I'll admit I didn't think about this.  So I'll have to fix it.  It
> helps that most uses of the pointers look like that:
>
> int main() {
>         int true = 1;
>         void *nonnull = (void *)0x7000000000000000;
>         true = true && nonnull;
>         printf("%d\n", true);
> }
>
> which does work correctly.
>
> Arnaud

I'm pretty sure !! will normalize anything to a correct truth value without
any type problems, but I'm not a C lawyer.

//art

Reply via email to