and_bits() behavior

new topic     » topic index » view thread      » older message » newer message

Should this be right?

ADMIN_ONLY = 128
btype = -1

?and_bits(ADMIN_ONLY,btype)

It's returning 128!

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu