Michael Pattrick <mpattr...@rhinovirus.org> writes:

> Sorry if that previous message was a little ambiguous, what I meant
> was: wouldn’t the following snippet achieve the same result without
> having to work around a GCC warning?
>
> #if BITS_PER_LONG == 64
>       if ((word & 0xffffffff) == 0) {
>               num += 32;
>               word >>= 32;
>       }
> #endif

You have same miss with me. :) sizeof() can't use for #if.  I guess
better fix would make BITS_PER_LONG constants, but I didn't find the way
to do.

Thanks.
-- 
OGAWA Hirofumi <hirof...@mail.parknet.co.jp>

_______________________________________________
Tux3 mailing list
Tux3@tux3.org
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3

Reply via email to