diff options
author | Brian Behlendorf <[email protected]> | 2015-05-11 12:05:05 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-05-11 12:15:41 -0700 |
commit | 3df293404a102398445fc013b67250073db9004e (patch) | |
tree | baf02335a5ef6e5cf6aa0afdac599236635d6974 /include/sys/dmu_send.h | |
parent | f9cab372917983805e14154df0720d21333326c3 (diff) |
Fix type mismatch on 32-bit systems
The umem_alloc_aligned() function should not assume that a 'void *'
type is 64-bit. It will not be on 32-bit platforms. Rather than
complicating the ASSERT to handle this it is simply removed.
Additionally, the '%lu' format specifier should not be assumed to
imply a 64-bit value. Fix this by using the 'llu' format specifier
which will always be atleast 64-bit and explicitly casing the
variable to an u_longlong_t. This issue is handled the same way
in many other parts of the code.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include/sys/dmu_send.h')
0 files changed, 0 insertions, 0 deletions