Commit 5a23c48a authored by Felip Moll's avatar Felip Moll Committed by Tim Wickberg
Browse files

Fix for bitstring interpretation on big-endian machine

This patch fix commit b31bb7 for big-endian machines inverting the
__builtin_clzll and __builtin_cltll calls depending on the architecture.
This caused to get the incorrect first and last bit set on the bitmap in
bit_ffs bit_fls.

bug 4494
parent 0c7b30fe
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment