[RFA] Setting long long bitfields
Andreas Schwab
schwab@suse.de
Sun Oct 31 18:43:00 GMT 2004
Andrew Cagney <cagney@gnu.org> writes:
> One possible tweak, several of us have an aversion to "?:", it would be
> nice if it wasn't there :-)
Like this perhaps:
+ ULONGEST mask = (ULONGEST) -1 >> (8 * sizeof (ULONGEST) - bitsize);
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gdb-patches
mailing list