Cast to unsigned long long for 32-bit arches
This commit is contained in:
parent
4f9acff2d8
commit
ba7ccf8ccd
|
@ -139,7 +139,7 @@ typedef struct raidz_map {
|
||||||
(mask) = (x) & 0x8080808080808080ULL; \
|
(mask) = (x) & 0x8080808080808080ULL; \
|
||||||
(mask) = ((mask) << 1) - ((mask) >> 7); \
|
(mask) = ((mask) << 1) - ((mask) >> 7); \
|
||||||
(x) = (((x) << 1) & 0xfefefefefefefefeULL) ^ \
|
(x) = (((x) << 1) & 0xfefefefefefefefeULL) ^ \
|
||||||
((mask) & 0x1d1d1d1d1d1d1d1d); \
|
((mask) & 0x1d1d1d1d1d1d1d1dULL); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define VDEV_RAIDZ_64MUL_4(x, mask) \
|
#define VDEV_RAIDZ_64MUL_4(x, mask) \
|
||||||
|
|
Loading…
Reference in New Issue