limex_dump: silence gcc large alignment warning

Passing mask by const ref silences the warning: "The ABI for passing
parameters with 32-byte alignment has changed in GCC 4.6".
This commit is contained in:
Justin Viiret 2016-08-25 13:25:01 +10:00 committed by Matthew Barr
parent c8868fb9c7
commit 0cc941dfd5

View File

@ -82,7 +82,7 @@ void dumpMask(FILE *f, const char *name, const u8 *mask, u32 mask_bits) {
template<typename mask_t>
static
u32 rank_in_mask(mask_t mask, u32 bit) {
u32 rank_in_mask(const mask_t &mask, u32 bit) {
assert(bit < 8 * sizeof(mask));
u32 chunks[sizeof(mask)/sizeof(u32)];