Re: Bit Flags

From: Patrick M. O'Laughlin (pmolaughlin@home.com)
Date: 06/06/01


Mike Breuer wrote:
> #define ULL(x) ((unsigned long long)(x)) /* or ((bitvector_t)(x)) */

Peter Ajamian wrote:
> You don't need a macro, (1ULL << 32) works fine.

Neither of these are working for me.  I'm still getting the (flag - 32)
activated along with the desired flag.  Any other suggestions?

Pat

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST