mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
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:
parent
c8868fb9c7
commit
0cc941dfd5
@ -82,7 +82,7 @@ void dumpMask(FILE *f, const char *name, const u8 *mask, u32 mask_bits) {
|
|||||||
|
|
||||||
template<typename mask_t>
|
template<typename mask_t>
|
||||||
static
|
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));
|
assert(bit < 8 * sizeof(mask));
|
||||||
|
|
||||||
u32 chunks[sizeof(mask)/sizeof(u32)];
|
u32 chunks[sizeof(mask)/sizeof(u32)];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user